Hi all. I'm not sure if this is the correct forum, pls move this if it's not. We have a three-server configuration to run vBulletin, a primary webserver, a database server, and then a slave server. We've setup the slave according to the config file (set slave in the config.php file). All three machines are running Windows Server 2003. This configuration worked perfectly for several weeks, but now, I'm getting intermittent errors every once and a while that look like this:
I've checked the error logs on both database servers - there's a few blips where it says the slave had trouble connecting to the master, but then it retries quickly after that and connects (according to the logs). Nothing seems to be happening at the time that I get these messages (I get about 10-20 in a row, in quick rapid fashion). It's obvious that the database server is not accepting connections for some reason, but I can't track it down. It's been running near flawlessly on the non-slave configuration for the past few years. MySQL server version 5.0.51b. If this problem continues, I suppose one potential fix would be to upgrade to 5.1 and try that.
Any suggestions? Again, this problem only started happening about 2-3 weeks after we added the slave server.
Thanks in advance,
Wayne
Database error in vBulletin :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://192.168.101.11:3306) D:\PelicanBBS\cgi-bin\vb2007\includes\class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Friday, September 24th 2010 @ 04:03:49 AM
Error Date : Friday, September 24th 2010 @ 04:04:49 AM
Script : http://forums.pelicanparts.com/showthread.php?t=555966
Referrer :
IP Address : 66.235.116.65
Username :
Classname : vB_Database_Slave
MySQL Version :
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: [2002] A connection attempt failed because the connected party did not (trying to connect via tcp://192.168.101.11:3306) D:\PelicanBBS\cgi-bin\vb2007\includes\class_core.php on line 311
MySQL Error :
Error Number :
Request Date : Friday, September 24th 2010 @ 04:03:49 AM
Error Date : Friday, September 24th 2010 @ 04:04:49 AM
Script : http://forums.pelicanparts.com/showthread.php?t=555966
Referrer :
IP Address : 66.235.116.65
Username :
Classname : vB_Database_Slave
MySQL Version :
Any suggestions? Again, this problem only started happening about 2-3 weeks after we added the slave server.
Thanks in advance,
Wayne