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)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          搜索

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 阳信县| 突泉县| 麻城市| 利川市| 莱州市| 兴城市| 上高县| 岳池县| 比如县| 赞皇县| 荣成市| 梓潼县| 襄樊市| 岑巩县| 富平县| 三穗县| 淄博市| 通辽市| 东乌| 中超| 永昌县| 麦盖提县| 大名县| 左云县| 宝坻区| 梁河县| 曲阜市| 门头沟区| 浦北县| 广丰县| 贡嘎县| 张北县| 崇阳县| 金沙县| 鸡西市| 汝南县| 松桃| 永年县| 大同县| 丰台区| 昌图县|