mysql报错You do not have the SUPER privilege and binary logging is enabled
生活随笔
收集整理的這篇文章主要介紹了
mysql报错You do not have the SUPER privilege and binary logging is enabled
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
分析原因:是log_bin_trust_function_creators值為off導致,因為Table中有Trigger,如果不創建Trigger,不會出現這樣的錯誤信息,但Trigger必須創建
臨時解決辦法:
用root用戶登錄:
mysql -u root -p
mysql>set global log_bin_trust_function_creators = 1;
永久解決方案如下:
修改配置文件,在[mysqld]部分加上:
log_bin_trust_function_creators=1
注:linux系統配置文件/etc/my.cnf
windows系統配置文件my.ini
總結
以上是生活随笔為你收集整理的mysql报错You do not have the SUPER privilege and binary logging is enabled的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: c++ 让程序玩贪吃蛇游戏
- 下一篇: 计算机桌面 文字大小,敬业签电脑桌面便签