Where can I find the logs¶
|MySQL/MariaDB||/var/lib/mysql/mysql-error.log or /var/log/mysqld.log|
Server lost power and MySQL wont start¶
If your MySQL database wont start after an accidental shut down, for example after a power failure, you should look at the MySQL log. If you see “Another MySQL daemon already running with the same unix socket” when trying to restart the database, you need to remove the existing socket.