Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recover mysql after system crash.

Status
Not open for further replies.

weifan

IS-IT--Management
Sep 6, 2003
45
US
Hi,

My redhat linux 7.2 failed to work. I took my six-month old backup hard drive (it was made with ghost disk to disk) to bring my system back. I can mount my failed HD to my system. In addition, I can copy all my data files back from my failed HD to the new system. However, it wouldn't copy mysql.sock.

Everything looks OK except mysql. I get the error message:
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)...

I tried "/etc/rc.d/rc.init/mysqld restart". It created a mysql.sock file under /var/lib/mysql/. But, it still doesn't work.

Can anyone please give me an instruction to fix this problem.

TIA

Roger

 
You might try posting the same question in Forum436 for MySql expertise. Regards.
 
After reading the posts, I still don't know how to fix my problem. Can someone tell me how to?
Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top