国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 開發設計 > 正文

巧用MySQL log調試程序

2019-11-17 06:08:04
字體:
來源:轉載
供稿:網友

打開my.ini文件

[MySQLd]的下面加上
log = c:/mysql_query.log.txt
重啟mysql

以后你用可以用editplus查看你運行的sql了,不用在程序里一句句的用log打出來了.

附:Mysql Doc:
http://dev.mysql.com/doc/mysql/en/Log_Files.Html
Log File Types of Information Logged to File The error log Logs PRoblems encountered starting, running, or stopping mysqld. The isam log Logs all changes to the ISAM tables. Used only for debugging the isam code. The query log Logs established client connections and executed statements. The update log Logs statements that change data. This log is deprecated. The binary log Logs all statements that change data. Also used for replication. The slow log Logs all queries that took more than long_query_time seconds to execute or didn't use indexes.



發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 呼和浩特市| 舟曲县| 灵丘县| 龙山县| 新昌县| 阳信县| 江口县| 汉寿县| 阜新市| 昆明市| 砀山县| 张家界市| 依兰县| 井陉县| 花垣县| 汶川县| 海门市| 台山市| 陈巴尔虎旗| 合江县| 红河县| 星座| 宣城市| 浦江县| 尼木县| 定边县| 陆川县| 凌海市| 都匀市| 隆回县| 无为县| 定西市| 虞城县| 英超| 连云港市| 大悟县| 龙州县| 青田县| 五莲县| 定西市| 垫江县|