0

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.

  • That was it. OMG! Have been on this for the whole afternoon! Thank you so much! – Ami Jun 27 at 23:36
1

Your section heading is misspelled:

[mysqlid]

It should instead read as:

[mysqld]
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.