to alloscdeveloper(初学者) -l, --log[=file] Log connections and queries to le. See Section 4.9.2 [Query log], page 281.--log-slow-queries[=file] Log all queries that have taken more than long_query_time seconds to execute to le. See Section 4.9.5 [Slow query log], page 284.参见MySQL Reference Manual。
我也为版主大人留了一道菜:在linux下面安装mysqlxxx.rpm包的时候 rpm -Uvh mysqlxxx.rpm成功以后,用mysql_connect连结mysql数据库,出现如下问题: Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /www/htdocs/test.php on line 2怎么版呀
Log connections and queries to le. See Section 4.9.2 [Query log], page 281.--log-slow-queries[=file]
Log all queries that have taken more than long_query_time seconds to execute
to le. See Section 4.9.5 [Slow query log], page 284.参见MySQL Reference Manual。
rpm -Uvh mysqlxxx.rpm成功以后,用mysql_connect连结mysql数据库,出现如下问题:
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111) in /www/htdocs/test.php on line 2怎么版呀
搞定以後我加100分
http://www.csdn.net/expert/topic/953/953302.xml?temp=.1988184