<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Log | Hessian's Blog</title><link>https://hessian.cn/tag/log</link><description>Hessian 的技术笔记：Linux、C++、网络与嵌入式</description><language>zh-CN</language><atom:link href="https://hessian.cn/tag/log/index.xml" rel="self" type="application/rss+xml"/><item><title>怎么打开/查看MySQL的SQL记录？</title><link>https://hessian.cn/p/1018.html</link><pubDate>Fri, 02 Nov 2012 17:13:52 +0800</pubDate><guid>https://hessian.cn/p/1018.html</guid><description>我们在开发的时候经常经常遇到在程序中增加调试语句很麻烦的情况，这时候难免会想如果Mysql能看到我们执行了什么SQL语句就好了。&#10;实际上MySQL是有这个功能的，在MySQL 5.1的时候我们就可以通过mysqld的-l参数来启动mysql来记录查询日志。&#10;</description></item></channel></rss>