mysql using slow query log

by Prakash 2012-07-12 12:24:24

[mysqld]
long_query_time=1
log-slow-queries=/var/log/mysql/log-slow-queries.log

You must create the file manually and change owners this way:

mkdir /var/log/mysql
touch /var/log/mysql/log-slow-queries.log
chown mysql.mysql -R /var/log/mysql
432
like
0
dislike
0
mail
flag

You must LOGIN to add comments