Monday, March 23, 2026
Cpanel/WHM

MySQL is running but PID file could not be found di cpanel

solusi :

1) SSH server as a root user
2) Create directory /var/run/mysql

mkdir /var/run/mysql

3) Create  a file with name as mysqld.pid

touch mysqld.pid

4) Change its ownership and group to  mysql:mysql

chown mysql:mysql mysqld.pid

5) Restart MySQL service and you will see no more errors

Baca Juga :  How To Disable The IPv6 on CentOS 6 with cPanel

Similar Posts