"Moritz Steiner" <[EMAIL PROTECTED]> wrote:
> I want to turn on and off the general query log from time to time. Is
> there a possibility to do this without changing the my.cnf file and
> restarting the server.
> I thought for example "set option log=ON"
You can do
SET SQL_LOG_OFF=1;
to turn off logging for this client. Client must have SUPER privilege:
http://www.mysql.com/doc/en/SET_OPTION.html
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]