mysql is dead but subsys locked

后端 未结 9 610
一个人的身影
一个人的身影 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:31

    First find the PID number of mysqld:

     1. Use top | grep mysqld
     2. kill -9 PID

    Safe method, works fine with Cent OS

    0 讨论(0)
  • 2020-12-24 03:33

    The problem I meet in the project is because of the disk space run out.

    The server that MySQL is running run out the disk space, business project's log is too large. The result is that MySQL restart failed.

    It is one probability and you can have a try.

    du -sh *

    and

    service mysqld restart

    0 讨论(0)
  • 2020-12-24 03:34
    service mysqld restart
    

    Simply restarting the mysqld worked fro me on Centos.

    0 讨论(0)
提交回复
热议问题