ERROR! MySQL is running but PID file could not be found

时间:2017-04-08 22:37:52

标签: mysql mariadb centos7

I'm running Mariadb 10.1.22 on Centos 7 and I am getting this error message when I'm trying to start the mysql service. I haven't changed the configuration file at all and I have pasted below what the file says about where my pid file is located

pid-file=/var/run/mariadb/mariadb.pid

On my server it doesn't have a run folder under the var folder but run is located on the base directory so I created a directory called mariadb in the run directory and added a file called mariadb.pid and used the chown command to assign it to the mysql group and then restarted and that did nothing. Does anyone know how to solve this issue?

Also running the rpm -qa mariadb* command sho

0 个答案:

没有答案