At 4:05 PM -0800 2000-02-28, Harry Nguyen wrote:
>I just installed mysql 3.22.30 in my Redhat 6.1 box, everything
>seem to run fine except the logs is not generated
>
>I check the startup script /etc/rc.d/init.d/mysql and it has an entry like
>this:
>
>$bindir/safe_mysqld --user=$mysql_daemon_user --pid-file=$pid_file
>--datadir=$datadir &
>
>Do I have to modify it to get the log running? if so, how!
>Thanks!
No modification of the startup script is necessary.
Put this in /etc/my.cnf:
[mysqld]
log=xxx
where xxx is the log file name you want to use (or leave off
the "=xxx" to use the default name).
--
Paul DuBois, paul@stripped