您好,欢迎访问一九零五行业门户网

How to Enable MySQL Query Monitoring_MySQL

related microzone resourcesinfographic: the future of the database
what we offer: clustrix features
clustrix whitepapers
proven in production: clustrix case studies
like this piece? share it with your friends:
do you need to monitor any sql statements passing through your mysql server? you would need to turn on the server logging. edit your my.cnf file and add these:
log-output=file
general-log=1
general_log_file=mysql-general.log
published at dzone with permission ofzemian deng, author and dzone mvb. (source)
(note: opinions expressed in this article and its replies are the opinions of their respective authors and not those of dzone, inc.)
tags:mysqltips and trickssql
其它类似信息

推荐信息