l****h 发帖数: 1 | 1 Please help me! I tried to use mysql in my apache server on Linux RedHat 8.0.
I installed the mysql package with the installation of Linux.
But whenever i tried to start mysql, there is error:
ERROR 2002: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111)
And also I cannot locate the file: mysql.sock. Also I check and find that
mysql is not running yet. But I cannot get it run. So please give any
suggestions.
I will highly appreciate it. | c**g 发帖数: 274 | 2
I don't understand, what do u mean by "start mysql"? this error message
looks like you type "mysql" while your mysql server is not run yet.
【在 l****h 的大作中提到】 : Please help me! I tried to use mysql in my apache server on Linux RedHat 8.0. : I installed the mysql package with the installation of Linux. : But whenever i tried to start mysql, there is error: : ERROR 2002: Can't connect to local MySQL server through socket : '/var/lib/mysql/mysql.sock' (111) : And also I cannot locate the file: mysql.sock. Also I check and find that : mysql is not running yet. But I cannot get it run. So please give any : suggestions. : I will highly appreciate it.
|
|