PDA

View Full Version : I messed up mySql !


webmasterii
Tue 28th Feb '06, 10:05am
I moved to a new server, and copied the whole content of /var/lib/mysql from the old server over the new one, now Mysql on the new server gives me this error:

Error connecting to MySQL: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)


Any ideas ... my site is down ..

tinjon
Tue 28th Feb '06, 11:20pm
if u still have access to the old server, go back, and use ssh or phpmyadmin to backup the database.
then on hte new server, use the database. u can use ssh again. if u dont have it, just upload the sql file and ask ur host to restore it to ur new dbase.

Marco van Herwaarden
Wed 1st Mar '06, 5:27am
Double check your config.php settings.

If all is ok, contact your host about this error.

Zachery
Fri 3rd Mar '06, 2:47am
Its never a good idea to move the ENTIRE mysql directory, maybe just the data directory, ontop of this its possible that you are now having version mismatch issues.

Contact your webhost ASAP!

webmasterii
Sat 4th Mar '06, 6:57pm
Its never a good idea to move the ENTIRE mysql directory, maybe just the data directory, ontop of this its possible that you are now having version mismatch issues.

Contact your webhost ASAP!

Thanks all ..
I did contact the provider, Server formated !
running fine now :)