mysql移植問題

同事在導入mysql文件時發生錯誤
ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL,or READS SQL DATA in its declaration and binary logging is enabled
(you *might* want to use the less safe log_bin_trust_function_creatorsvariable)
稍微查了一下,用
mysql> SET GLOBAL log_bin_trust_function_creators = 1;

命令就可以解決了

具體原因都是英文的,也沒時間看
先記錄下網址,以後再研究吧

http://dev.mysql.com/doc/refman/5.0/en/stored-procedure-logging.html

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章