Today I had to fix so many of ones server permission taht coudln’t start the MySql SERvice on a linux server

after fixing so many ownership finally I got this error in the log file


that had the following log in there

101114 12:43:42  mysqld started
101114 12:43:42  InnoDB: Started; log sequence number 9 2286522967
101114 12:43:42 [ERROR] /usr/libexec/mysqld: Can't create/write to file '/var/run/mysqld/' (Errcode: 13)
101114 12:43:42 [ERROR] Can't start server: can't create PID file: Permission denied
101114 12:43:42  mysqld ended
[ERROR] /usr/libexec/mysqld: Can't create/write to file '/var/run/mysqld/' (Errcode: 13)

I made it fixed by this command

chown mysql /var/run/mysqld/

Voshka Niknam


Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.