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
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