Comments - Get the error log of Mariadb

9 years, 2 months ago Guillaume Lefranc

By default in CentOS, your error log must be in /var/lib/mysql/hostname.err (replace hostname by the real hostname of your server). If it has changed, you can try the following to find the location of it:

  1. grep -R log_error /etc/mysql/*

or connect to the server using the mysql command-line utility, and;

MariaDB> SHOW VARIABLES LIKE 'log_error';

By the way, the IRC channel or the mariadb mailing list may be a better place to ask for help.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.