mysql is dead but subsys locked

后端 未结 9 723
一个人的身影
一个人的身影 2020-12-24 03:04

I am using PHP-mysql on Linux (RHEL 5.0) For First Time
When I tried to connect to MySQL from my PHP Script using mysqli_connect.
It Displayed

9条回答
  •  太阳男子
    2020-12-24 03:18

    1. tail /var/log/mysqld.log to check the error log
    2. then do the following actions:

      rm /var/lock/subsys/mysqld chown -R mysql.mysql /var/run/mysqld

提交回复
热议问题