解決mysql不能創建函數
以下是引用片段:Error Code : 1418
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_creators variable)
(0 ms taken)
解決方法如下:
方法1. mysql> SET GLOBAL log_bin_trust_function_creators = 1;
方法2. 系統啟動時 --log-bin-trust-function-creators=1
方法3. 在my.ini(linux下為my.conf)文件中 [mysqld] 標記后加一行內容為 log-bin-trust-function-creators=1
posted on 2012-06-15 15:58 順其自然EVO 閱讀(275) 評論(0) 編輯 收藏 所屬分類: 數據庫