mysql建立自定义函数的问题
2011-04-23 23:18
741 查看
创建函数时问题马上出现:
ERROR 1418 (HY000): This routine 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_routine_creators
variable)
在mysql在线文档中找到解决方案,网址为:
http://dev.mysql.com/doc/refman/5.1/zh/stored-procedures.html#create-procedure
只需要将log_bin_trust_routine_creators 设置为 1 即可,解决方法
在my.ini的[mysqld]下加上log-bin-trust-function-creators=1
希望各位在使用过程中碰到问题少走弯路。
ERROR 1418 (HY000): This routine 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_routine_creators
variable)
在mysql在线文档中找到解决方案,网址为:
http://dev.mysql.com/doc/refman/5.1/zh/stored-procedures.html#create-procedure
只需要将log_bin_trust_routine_creators 设置为 1 即可,解决方法
在my.ini的[mysqld]下加上log-bin-trust-function-creators=1
希望各位在使用过程中碰到问题少走弯路。
您可能感兴趣的文章:
相关文章推荐
- mysql建立自定义函数的问题
- mysql建立自定义函数的问题
- 求助(关于自定义函数位置的问题)
- 使用C++标准库sort自定义比较函数导致死循环问题
- MySQL自定义函数用法详解-复合结构自定义变量/流程控制--及其相关案例
- MySQL存储过程和自定义函数、Navicat for mysql、创建存储过程和函数、调用存储过程和函数的区别
- mysql自定义函数学习笔记
- MySQL 第八篇:自定义函数、存储过程、游标
- (9)mysql中的存储过程和自定义函数
- navicat与phpmyadmin做mysql的自定义函数和事件
- 给MySQL添加http-udf,http-json等自定义函数
- mysql 函数注意的小问题
- MySQL(六) —— 自定义函数
- Mysql group_concat函数被截断的问题
- 控件自定义左键点击消息相应函数的问题(请懂的人来解答一下)
- 我的MYSQL学习心得(十) 自定义存储过程和函数
- Mysql中实现提取字符串中的数字的自定义函数分享
- mysql 中自定义实现split功能的函数
- 【MySql】3.1 自定义函数的使用
- mysql创建自定义函数和存储过程