MySQL函数不能创建的解决方法
来源:互联网 发布:c语言技巧 编辑:程序博客网 时间:2024/05/19 14:00
在使用MySQL数据库时,有时会遇到MySQL函数不能创建的情况。下面就教您一个解决MySQL函数不能创建问题的方法,供您借鉴参考。
出错信息大致类似:
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函数不能创建,是未开启功能:
- mysql> show variables like '%func%';
- +---------------------------------+-------+
- | Variable_name | Value |
- +---------------------------------+-------+
- | log_bin_trust_function_creators | OFF |
- +---------------------------------+-------+
- 1 row in set (0.00 sec)
- mysql> set global log_bin_trust_function_creators=1;
- Query OK, 0 rows affected (0.00 sec)
- mysql> show variables like '%func%';
- +---------------------------------+-------+
- | Variable_name | Value |
- +---------------------------------+-------+
- | log_bin_trust_function_creators | ON |
- +---------------------------------+-------+
- 1 row in set (0.00 sec)mysql>
0 0
- MySQL函数不能创建的解决方法
- MySQL函数不能创建的解决方法
- MySQL函数不能创建的解决方法
- 解决mysql不能创建函数
- 解决mysql不能创建函数
- mysql中不能创建函数的处理方法
- MySQL创建自定义函数时 Error Code: 1418 的解决方法
- 22- mysql不能创建自定义函数
- MySQL创建函数报“ERROR 1418 ”错误,不能创建函数
- "Automation 服务器不能创建对象" 的解决方法
- "Automation 服务器不能创建对象"的解决方法
- automation 服务器不能创建对象的解决方法
- vs2008不能创建C#项目的解决方法
- vs2008不能创建C#项目的解决方法
- VS2008 不能创建C++的项目,解决方法
- AMP server mysql 不能创建存储过程解决方法
- CodeSmith不能连接MySQL的解决方法
- MYSQL不能从远程连接的解决方法
- 性能指标之服务指标
- 微信小程序 action-sheet 反馈上拉菜单
- 揭秘DDoS黑市:50块钱就能击瘫一家网站
- 方正李友“四人帮”的覆没记
- 域名配置备忘录
- MySQL函数不能创建的解决方法
- java类中代码的执行顺序
- 有关 等待队列和wait_event_interruptible() 和 wake_up()
- pip安装pkg_resources.DistributionNotFound: pip==9.0.1
- java的三大特性
- myeclipse 格式化缩进无效和格式化快捷键无效 是两个问题
- React--Components and Props(组件和属性组件)
- Android 在Gradle中优雅的配置构建环境
- 【笔记】java核心技术-equals