MariaDB 10.4.13 on Fedora 31

Ami asked:

Learning MariaDB on Fedora 31. Installed successfully, able to connect; however, cannot seem to get the error log global variables to register.

Steps taken:

  1. Created maria.log file in /var/log/
  2. Added
    [mysqlid] log-error = /var/log/maria.log
    to /etc/my.cnf
  3. Restarted mariadb service.
  4. Changed permission based on "How to view mariadb log?" thread on this forum.

When I query show global variables like 'log_error'; I still get empty value. Nothing is written to the file.

Any suggestions? Thank you.

My answer:

Your section heading is misspelled:


It should instead read as:


View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.