# MySQL Logs

The best place to look for logs relating to MySQL or MariaDB is the system journal.

For MySQL, run as root:

journalctl -u mysql

For MariaDB, run:

journalctl -u mariadb

The most common cause of MySQL or MariaDB issues is that the process has been killed by the OOM (Out of Memory) killer.