我正在使用MySQL分析器來幫助診斷我正在研究的一些MySQL問題。但是,當我發出show profiles
命令我沒有得到任何結果。MySQL分析器 - 顯示配置文件中沒有條目
這是我如何使用它:
set profiling=1 --Enable profiling
-- Run some selects/inserts etc
select count(*) from mytable
insert into mytable (mydata) values ('wibble')
show profiles
我期待show profiles
命令給我的選擇等等,我啓用分析(根據信息from this MySQL dev page)之後進行的文件數據,但所有我回來是一個空的結果集。在啓用/禁用配置文件時,我沒有看到任何錯誤,也不會在嘗試查看配置文件時看到任何錯誤。
下可能會或可能不相關:
- 命令是通過phpMyAdmin的發行
- 我運行MySQL 5.0.77
select * from information_schema.profiling
也不返回結果