Page 1 of 1

MySQL Logs

Posted: Mon 21. Oct 2024, 14:14
by gacott
I have a pro license (if it matters) how do I look at the mysql log?

Re: MySQL Logs

Posted: Mon 21. Oct 2024, 14:23
by 24unix
What do you mean by logs?

General logs ar under /var/log/mysql.
I you need more specific, like query logs, you must first enable them.

Re: MySQL Logs

Posted: Mon 21. Oct 2024, 15:04
by gacott
24unix wrote: Mon 21. Oct 2024, 14:23 What do you mean by logs?

General logs ar under /var/log/mysql.
I you need more specific, like query logs, you must first enable them.
I have looked under /var/log/ and there is no MySQL anywhere. That is what I mean by logs.

Re: MySQL Logs

Posted: Mon 21. Oct 2024, 15:06
by Florian
Hallo,

then you have to look into the syslog

Since Debian 12 journalctl is used.