logged slow queries by MySQL Server and you can optimize them.
# touch /var/log/slow-queries.log
# chmod 644 /var/log/slow-queries.log
Edit your /etc/my.cnf and under [mysqld] add following lines.
[mysqld]
…
log-slow-queries = /var/log/slow-queries.log# /scripts/restartsrv_mysql























Be The First To Comment
Related Post
Please Leave Your Comments Below