PDA

View Full Version : help me please


gamelandz
07-26-2006, 01:11 AM
my entire site is down...can't even log into admin area...here was the error:

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) /home/teambow/public_html/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Tuesday, July 25th 2006 @ 10:03:08 PM
Script : http://www.gamelandz.com/forum/forumdisplay.php?f=71
Referrer : http://www.gamelandz.com/forum/calendar.php?do=getinfo&e=8&day=2006-7-8&c=1
IP Address : 207.255.74.202
Username :
Classname : vb_database



also got this one...

Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) /home/teambow/public_html/forum/includes/class_core.php on line 279

MySQL Error :
Error Number :
Date : Tuesday, July 25th 2006 @ 10:03:37 PM
Script : http://www.gamelandz.com/forum/admincp/options.php
Referrer : http://www.gamelandz.com/forum/admincp/options.php?do=options&dogroup=marquee_system_controls&advanced=%200
IP Address : 207.255.74.202
Username :
Classname : vb_database

Guest210212002
07-26-2006, 01:17 AM
At a glance, mysqld is not running. Try restarting it from shell.

If that doesn't work, try:

chmod 777 /var/lib/mysql
safe_mysqld -u root &

gamelandz
07-26-2006, 01:20 AM
where do i find.../var/lib/mysql?

Guest210212002
07-26-2006, 01:29 AM
/var/lib/mysql is where it is, that's a linux path. If your sql is setup differently, it'll be somewhere else but there's no way to tell from where I'm sitting.

I'm assuming you have shell access - have you tried a quick reboot?

Before that, try:

service mysqld start

If that doesn't work, go for a reboot. :)

gamelandz
07-26-2006, 01:35 AM
it was my host.....gave me a heart attack....everything is fine now...thx again!!!

Guest210212002
07-26-2006, 02:04 AM
Glad to hear it's all worked out. :D

While you're in the mood, now's a fine time to do a backup. ;) I always do a feel-good backup every time something goes bad like that.