The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
vBulletin Database Error
I started getting a database error just before I upgraded the v4.0.7 but now they are continuing.
mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) /home/xxxxxxx/public_html/forum/includes/class_core.php on line 313 Any suggestions? Thanks. |
#2
|
|||
|
|||
Read here http://www.vbulletin.com/docs/html/t...t_mysql_errors that should help you
|
#3
|
|||
|
|||
Thanks Much. Appreciate your help. I will see what my host can share with me.
|
#4
|
||||
|
||||
If you're on shared hosting, this is a very common error on oversold servers. Check your CPU loads. As the server gets slowed down, odd errors start happening.
|
#5
|
|||
|
|||
Thanks...the error doesn't seem to be affecting the forum but it does concern me. The errors are generated at random times and I can't seem to pin point the error and the host doesn't seem to think that there is anything they can do short of moving it to a new server.
I did make some changes to the bandwidth and ran some mysql repair and checks using cpanel and vbulletin's options. So far so good but I don't have a clue yet if it is corrected....thanks so much for your help. |
#6
|
||||
|
||||
Although changing servers can wreak havoc, if they're actually offering to do that for free it may be your best choice. Again, assuming this is a load issue. I know a move solved ours.
Forget playing around with your vb stuff, none of that will cause the mysql socket to not be available. |
#7
|
|||
|
|||
Videx,
Let me ask you if moving to a new server is recommended over creating a new mysql database on the same server? |
#8
|
||||
|
||||
Those are two totally different things that have nothing at all to do with one another. Create all the new dbs you want, but if the server is overloaded you won't be able to connect to those at times either.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|