Plesk

Unable to check the Mysql/Mariadb status after upgrade: ERROR! MariaDB is running but PID file could not be found

Symptoms

Cause

There is no PID file for a Mysql/Mariadb server.

Resolution

  1. Connect to the server using SSH

  2. Create a /var/run/mariadb directory and set ownership:

    # mkdir /var/run/mariadb

    # chown mysql:mysql /var/run/mariadb
    /var/run/mariadb: directory

  3. Restart Mysql/Mariadb service:

    # systemctl restart mariadb.service

Exit mobile version