log mariadb

Posted:
Jan 19th, '23, 16:43
by bitit
how can enable mariadb log and log error?
Enrico
Re: log mariadb

Posted:
Jan 19th, '23, 18:16
by bitit
in /etc/my.conf
i have
[mysqld_safe]
log-error=/var/log/mysqld/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
but no log in the folder.
Re: log mariadb

Posted:
Jan 19th, '23, 18:17
by bitit
nb .Pid is present.
Enrico