Author Topic: ERROR MariaDB is running but PID file could not be found  (Read 266 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
ERROR MariaDB is running but PID file could not be found
« on: September 11, 2019, 12:33:25 AM »
Code: [Select]
# service mysqld status
 ERROR! MariaDB is running but PID file could not be found

I believe I need to add something like the following to my /etc/my.cnf file.

Code: [Select]
[mysqld]
pid-file = /path/to/where/PID/file/should/reside/mysqld.pid

But... I don't have any idea where the right place is to locate the PID file.

...and with CWP running MariaDB rather than mysql, should the PID file be "mariadb.pid"