Re: Mysql does not write to error log.
[testsrv:~]$ cat /etc/my.cnf | grep 'log-error'
log-error = /home/logs/mysql/error.log
[testsrv:~]$ ps -ef | grep mysql | grep -v grep
root 10951 1 0 Jul13 ? 00:00:00 /bin/sh /usr/local/mysql-5.1.61/bin/mysqld_safe --datadir=/home/databases/mysql --pid-file=/home/databases/mysql/testsrv.pid
mysql 11108 10951 14 Jul13 ? 2-01:05:59 /usr/local/mysql-5.1.61/libexec/mysqld --basedir=/usr/local/mysql-5.1.61 --datadir=/home/databases/mysql --user=mysql --log-error=/home/logs/mysql/error.log --open-files-limit=16000 --pid-file=/home/databases/mysql/testsrv.pid --socket=/var/run/mysql/mysql.sock --port=3306
root@testsrv:~]# cat /home/logs/mysql/error.log
Thanks,
Denis
Subject
Written By
Posted
Re: Mysql does not write to error log.
July 27, 2015 04:42AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.