View Full Version : Database error in vBulletin :
puertoblack2003
11-28-2005, 10:12 AM
good day,
i'm having error in database i contacted my server with the error and was told to contact someone in vb this is the error report:
mysql_connect(): Lost connection to MySQL server during query /home/.debit/puertoblack2003/puertotech.com/includes/class_core.php on line 273
mysql_connect(): Lost connection to MySQL server during query /home/.debit/puertoblack2003/puertotech.com/includes/class_core.php on line 273
MySQL Error :
Error Number :
Date : Monday, November 28th 2005 @ 12:12:28 AM
Script : http://www.puertotech.com/vbshout.php
Referrer :
IP Address : 24.45.69.30
Username :
Classname : vb_databasecan someone help to fix the problem :ermm:
calorie
11-28-2005, 10:24 AM
Did you turn persistent connections to MySQL on in your vB config file? If so, try turning them off.
puertoblack2003
11-28-2005, 10:32 AM
Did you turn persistent connections to MySQL on in your vB config file? If so, try turning them off.
according to what i have it appears to be off look at how it looks:$config['MasterServer']['usepconnect'] = 0;
Boofo
11-28-2005, 10:36 AM
Does it happen all the time?
puertoblack2003
11-28-2005, 10:39 AM
Does it happen all the time?
like every other day with different error rather shout , or showthread.php and online.php a couple of more can't remember.
calorie
11-28-2005, 10:40 AM
Do you also see...
$config['SlaveServer']['usepconnect'] = 0;
My guess is probably, so recheck your config file for the following:
$config['MasterServer']['servername']
$config['MasterServer']['port']
$config['MasterServer']['username']
$config['MasterServer']['password']
And since you probably aren't using a 'slave' have the following;
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;
And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server. ;)
Boofo
11-28-2005, 10:40 AM
What plug-ins or products have you recently added?
puertoblack2003
11-28-2005, 10:47 AM
What plug-ins or products have you recently added?
the last one i install was the IM online status and server info
And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server.
i did that they told me that everything is up and running found no errors and for me to take a look at the program from vb...
Boofo
11-28-2005, 10:49 AM
the last one i install was the IM online status and server info
And if all that is correct, do another thorough check of config, and if it's all correct, maybe ask your host what is wrong with their MySQL server.
i did that they told me that everything is up and running found no errors and for me to take a look at the program from vb...
Then I would try disabling some products and plug-ins to find out if maybe there are a couple of them not playing nice together. Start with the most recent and keep an eye on things. ;)
puertoblack2003
11-28-2005, 10:51 AM
Then I would try disabling some products and plug-ins to find out if maybe there are a couple of them not playing nice together. Start with the most recent and keep an eye on things. ;)
will do and i will keep you guys informed, thanks :squareeyed:
calorie
11-28-2005, 10:56 AM
like every other day with different error rather shout , or showthread.php and online.php a couple of more can't remember.
Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.
What plug-ins or products have you recently added?
I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)
puertoblack2003
11-28-2005, 11:01 AM
Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.
I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)
i think it's the server info hack, i will go back to that thread where i got it from to see if anybody else is having the same problem as i.. :disappointed:
Boofo
11-28-2005, 11:01 AM
Then it would seem that your vB config is fine, and it is your host's MySQL server that likes to drop connections.
I'm not sure what plug-ins or products would be directly messing with the db_connect function. I'd say it sounds more like the MySQL server isn't allowing for enough connections or packet sizes are sometimes too big, maybe because of a plug-in or product. ;)
It could be almost anything that calls out for anything. It's just a thought as his host seems to think there is nothing wrong on their end. And no matter now good the product/plug-in system is, there are bound to be plug-ins that are vieing for the title of who runs first or at all. I've seen some strange ones react differently than expected. ;)
puertoblack2003
11-28-2005, 11:13 AM
It could be almost anything that calls out for anything. It's just a thought as his host seems to think there is nothing wrong on their end. And no matter now good the product/plug-in system is, there are bound to be plug-ins that are vieing for the title of who runs first or at all. I've seen some strange ones react differently than expected. ;)
i'm curious to if this hack connects to the server to get the info if it is then i think this is the problem Server Info (https://vborg.vbsupport.ru/showthread.php?t=92416&highlight=query+stats)
man it's funny i back track the date of the error when it started and from what i understand it started when i installed the ipbarcade :ermm: you think that will cause the issue? :rolleyes:
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.