qileilove

          blog已經轉移至github,大家請訪問 http://qaseven.github.io/

          解決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)  編輯  收藏 所屬分類: 數據庫

          <2012年6月>
          272829303112
          3456789
          10111213141516
          17181920212223
          24252627282930
          1234567

          導航

          統計

          常用鏈接

          留言簿(55)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 台中县| 佳木斯市| 宝坻区| 安溪县| 通化县| 高尔夫| 津南区| 新源县| 藁城市| 云梦县| 临洮县| 天长市| 齐河县| 河间市| 石狮市| 东安县| 古蔺县| 肃北| 突泉县| 额尔古纳市| 罗定市| 兴宁市| 赣榆县| 永年县| 琼结县| 克东县| 屏边| 阳新县| 嘉义县| 新乡县| 广河县| 霞浦县| 内黄县| 延庆县| 建阳市| 仪陇县| 和田市| 左权县| 虎林市| 宁安市| 德惠市|