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
相關文章
相關標籤/搜索