Can’t create/write to file ‘/var/run/mysqld/mysqld.pid’ (Errcode: 13) Check the permission of mysqld directory and it should be under the ownership of mysql # chown mysql:mysql /var/run/mysqld Share this: Share on X (Opens in new window) X Share on Facebook (Opens in new window) Facebook Like Loading... Related CentOSLinuxMySQL