`
sundful
  • 浏览: 1230432 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

MySQL Error :SHOW PROFILES

阅读更多

在使用SQLyog Enterprise V8.1 英文版的时候,执行一个sql 语句,总会先弹出一个对话框,显示如下信息:

1
2
3
Error number:1289
Error message:
The 'SHOW PROFILES'
 feature is disabled; you need MySQL built with 'enable-profiling'
 to have it working



意思呢就是说编译时没有激活enable-profiling选项。
其实你点击了Ok以后,sql语句会正常执行。只不过每次都点,让人觉得很烦。

终于找到了原因:
1 MySQL从5.0.37起,提供了profile的功能。
2 我的MySQL是5.0.17,而我的SQLyog是8.1。
3 在SQLyog8.1中,默认的是对profile提供支持的,也就是说有其对各中参数的设置。

所以呢,解决方法就在SQLyog中找。
tools -> preferences -> power tools ->Enables Query Fifles 中,去掉 show profiles 前面的勾即可。

分享到:
评论
1 楼 a785975139 2016-12-07  
有用

相关推荐

Global site tag (gtag.js) - Google Analytics