LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   How to have Mysql to start query logs (http://www.linuxquestions.org/questions/linux-server-73/how-to-have-mysql-to-start-query-logs-592631/)

ponganthony 10-17-2007 11:47 PM

How to have Mysql to start query logs
 
Dear All,

In binary installation of mysql, the logging start by:
$MYSQL_HOME/bin/mysqld_safe --log --user=mysql &

I have moved to a new Fedora server and use the rpm to install Mysql.
It is start by:
/etc/rc.d/init.d/mysqld start

I cannot start the logging by adding --log option. How can it be invoked in a rpm installation?
Please help.

Regards,
Anthony

Berhanie 10-18-2007 10:02 PM

You can add this line to my.cnf:
Code:

log


All times are GMT -5. The time now is 01:35 PM.