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