Good afternoon.
Today I noticed that there is no log mysql.
Did the following:
MySql just doesn't start without any warnings.
how to fix and enable logging mysql.log?
Today I noticed that there is no log mysql.
Did the following:
Code:
[mysqld]
log=/var/log/mysql.log
Code:
touch /var/log/mysql.log
chown mysql:mysql /var/log/mysql.log
/usr/local/etc/rc.d/mysql-server restart
service mysql-server status
mysql is not running.
mysql --version
mysql Ver 14.14 Distrib 5.7.33, for FreeBSD12.2 (amd64)
how to fix and enable logging mysql.log?