mysql开启慢SQL并分析缘由

第一步.开启mysql慢查询 方式一:修改配置文件 Windows:Windows 的配置文件为 my.ini,通常在 MySQL 的安装目录下或者 c:\Windows 下。mysql Linux:Linux 的配置文件为 my.cnf ,通常在 /etc 下sql 在 my.ini 增长几行: 数据库 [sql]  view plain  copy   [mysqlld]   long_que
相关文章
相关标签/搜索