Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MySQL Logging
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
vxspiritxv
n00b
n00b


Joined: 07 Apr 2003
Posts: 60

PostPosted: Mon Oct 20, 2003 10:29 pm    Post subject: MySQL Logging Reply with quote

I read http://www.mysql.com/doc/en/Query_log.html but I can't find the --log option in /etc/init.d/mysql or /usr/bin/mysqld_safe

How do I disable loging? (I only have 2 sites on my machine and getting logs of 2gigs a day in /var/log/mysql/mysql.log)
Back to top
View user's profile Send private message
Steffen
Apprentice
Apprentice


Joined: 14 Jul 2002
Posts: 159

PostPosted: Mon Oct 20, 2003 10:40 pm    Post subject: Reply with quote

I think you have to comment out the following line in your /etc/mysql/my.cnf and then restart your mysql server:
Code:
log          = /var/log/mysql/mysql.log
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum