在使用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 前面的勾即可。

这位老兄说的比较详细,可以看一下:
【http://www.ourmysql.com/archives/785】

相关文章:

  • 2021-04-05
  • 2021-11-09
  • 2022-01-31
  • 2021-07-04
  • 2022-12-23
  • 2021-08-27
猜你喜欢
  • 2021-10-24
  • 2021-11-19
  • 2022-01-17
  • 2022-12-23
  • 2022-12-23
  • 2021-09-23
  • 2021-09-01
相关资源
相似解决方案