MySQL建立觸發器的時候報1419錯誤( 1419 - You do not have the SUPER privilege and binary logging is enabled )

mysql建立觸發器的時候報錯:mysql 解決方法: 第一步,用root用戶登陸:mysql -u root -p 第二步,設置參數log_bin_trust_function_creators爲1:set global log_bin_trust_function_creators = 1; 再次嘗試建立觸發器,成功!(一樣,在刪除觸發器報該錯誤的時候也是如此處理) sql
相關文章
相關標籤/搜索