[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mysqld query logs



On Wed, 1 Aug 2007, Nicolas wrote:

Hello,

Basic question but I can't get to resolve it by googling around and
playing with the options: when I start the mysqld daemon using the
(unmodified) init script /etc/init.d/mysqld, the daemon is not logging
any queries nor errors to syslog. Starting the mysqld_safe binary with
the -l or --log-error options do not help. Actually I'd prefer the
daemon to log to /var/log/mysql.log and /var/log/mysql.err, but
specifying these files also doesn't work. Can you give me a pointer?

Thanks,

Nicolas

Check in /etc/mysql/my.cnf , there you should find some options to log.

-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.



Reply to: