偷偷摘套内射激情视频,久久精品99国产国产精,中文字幕无线乱码人妻,中文在线中文a,性爽19p

MySQL函數(shù)不能創(chuàng)建的解決方法

數(shù)據(jù)庫 MySQL
MySQL函數(shù)不能創(chuàng)建,是一個(gè)很麻煩的問題,下面就為您提供了一個(gè)解決此問題的方法,如果您也遇到過類似的問題,不妨一看。

在使用MySQL數(shù)據(jù)庫時(shí),有時(shí)會(huì)遇到MySQL函數(shù)不能創(chuàng)建的情況。下面就教您一個(gè)解決MySQL函數(shù)不能創(chuàng)建問題的方法,供您借鑒參考。

出錯(cuò)信息大致類似:

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_creators variable)
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_creators variable)

MySQL函數(shù)不能創(chuàng)建,是未開啟功能:

  1. mysql> show variables like '%func%';  
  2. +---------------------------------+-------+  
  3. | Variable_name                   | Value |  
  4. +---------------------------------+-------+  
  5. | log_bin_trust_function_creators | OFF   |  
  6. +---------------------------------+-------+  
  7. 1 row in set (0.00 sec)  
  8.  
  9. mysql> set global log_bin_trust_function_creators=1;  
  10. Query OK, 0 rows affected (0.00 sec)  
  11.  
  12. mysql> show variables like '%func%';  
  13. +---------------------------------+-------+  
  14. | Variable_name                   | Value |  
  15. +---------------------------------+-------+  
  16. | log_bin_trust_function_creators | ON    |  
  17. +---------------------------------+-------+  
  18. 1 row in set (0.00 sec)mysql> 

 

 

 

【編輯推薦】

MySQL查詢超時(shí)的問題處理方法

MySQL重復(fù)記錄的處理方法

mysql查詢前幾條記錄的實(shí)現(xiàn)方法

MySQL用戶權(quán)限設(shè)置方法

帶您了解mysql變量

責(zé)任編輯:段燃 來源: 互聯(lián)網(wǎng)
相關(guān)推薦

2010-09-28 13:53:59

sql text字段

2010-07-21 15:14:59

不能telnet服務(wù)器

2010-06-21 09:54:50

Linux Aplay

2010-10-13 17:22:12

MySQL查詢亂碼

2010-05-10 18:30:31

Oracle多表創(chuàng)建

2009-11-26 15:42:18

PHP函數(shù)mail()

2009-12-02 10:08:33

PHP mail()函

2010-05-25 16:37:47

MySQL忘記密碼

2011-05-16 09:54:22

mysql1067錯(cuò)誤

2010-09-16 15:36:26

SQL Server2

2012-07-27 16:46:17

Windows 7 操作系統(tǒng)

2010-10-15 11:22:24

MySQL復(fù)制表結(jié)構(gòu)

2010-10-14 13:55:58

MySQL創(chuàng)建函數(shù)

2010-11-03 09:34:39

DB2臨時(shí)表

2010-07-15 14:01:12

telnet亂碼

2010-04-16 12:33:09

無線路由器不能上網(wǎng)

2010-10-19 15:45:32

SQL Server創(chuàng)

2011-03-01 13:40:45

500 OOPS

2011-08-24 17:41:16

MySQL死鎖

2011-07-05 09:44:31

QT Mysql 亂碼
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)