PDA

View Full Version : Database error


Skivey
02-12-2013, 06:19 PM
What is it? Had it once the last 2 days, at "about" the same time...

Database error in vBulletin :

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/*****/public_html/forum/includes/class_core.php on line 317

MySQL Error :
Error Number :
Request Date : Monday, February 11th 2013 @ 01:06:50 AM
Error Date : Monday, February 11th 2013 @ 01:06:50 AM
Script : http://forum.rsclassics360.co.uk/index.php
Referrer : http://forum.rsclassics360.co.uk/index.php
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :

Amaury
02-12-2013, 06:28 PM
What is it? Had it once the last 2 days, at "about" the same time...

Database error in vBulletin :

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/*****/public_html/forum/includes/class_core.php on line 317

MySQL Error :
Error Number :
Request Date : Monday, February 11th 2013 @ 01:06:50 AM
Error Date : Monday, February 11th 2013 @ 01:06:50 AM
Script : http://forum.rsclassics360.co.uk/index.php
Referrer : http://forum.rsclassics360.co.uk/index.php
IP Address : ***********
Username :
Classname : vB_Database
MySQL Version :

Are those blank fields actually blank or did you blank them yourself?

ForceHSS
02-12-2013, 06:35 PM
the username or password or both are wrong in your config.php file

Skivey
02-12-2013, 10:45 PM
its a direct copy and paste

As for the username or password wrong, impossible as the site is working. however when I look into it, it is all correct anyway :)

Bizarre isnt it.

Its only happened since I moved to a new server a couple of days ago

--------------- Added 1360712885 at 1360712885 ---------------

also, the 2 different errors, the IP addresses are different....

ForceHSS
02-12-2013, 10:57 PM
this Tabs System by vbSoporte - vBulletin en EspaƱol is not needed in 4.2.0 it will cause you problems

betterthanyours
02-14-2013, 11:41 AM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

It's a hosting issue. Ask your host to check the mysql socket when this happens

Skivey
02-14-2013, 04:20 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

It's a hosting issue. Ask your host to check the mysql socket when this happens

I host it myself :)

--------------- Added 1360862520 at 1360862520 ---------------

this Tabs System by vbSoporte - vBulletin en Espa?ol is not needed in 4.2.0 it will cause you problems

Ill check it out. I know its not needed though. Havent bothered to play around with it to get it converted to VB. Thanks though, ill try this.

Matt