MySQL数据库开启或关闭函数功能
来源:互联网 发布:搜索一下淘宝网 编辑:程序博客网 时间:2024/06/04 19:31
应用MySQL时,会遇到不能创建函数的情况。出现如下错误信息:
ERROR 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)
那是因为没有将功能开启。
开启MySQL函数功能:SET GLOBAL log_bin_trust_function_creators=1;
关闭MySQL函数功能:SET GLOBAL log_bin_trust_function_creators=0;
查看状态:show variables like '%func%';
ERROR 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)
那是因为没有将功能开启。
开启MySQL函数功能:SET GLOBAL log_bin_trust_function_creators=1;
关闭MySQL函数功能:SET GLOBAL log_bin_trust_function_creators=0;
查看状态:show variables like '%func%';
- MySQL数据库开启或关闭函数功能
- Mariadb或mysql开启或关闭远程连接功能
- oracle数据库开启或关闭归档模式
- 【Wn8中如何关闭或开启自动播放功能】
- 关闭或开启ARC
- Mysql 和 Mariadb 开启或关闭远程命令
- mysql数据库的日志功能开启配置
- 开启关闭windows7功能
- 开启关闭休眠功能
- 如何开启和关闭oracle数据库中的审计功能?
- mysql开启创建函数的功能
- 开启,关闭数据库
- Mysql开启关闭
- ubuntu开启关闭Mysql
- 关闭开启 mysql 服务
- 如何开启或关闭SELinux
- Android 开启或关闭硬件加速
- 打开或关闭oracle数据库的闪回功能步骤
- assets文件夹资源的访问
- conversion to dalvik format failed with error 1的解决办法
- Jackrabbit之DataStore
- WCF相关内容
- C# OpenFileDialog 用法(二)
- MySQL数据库开启或关闭函数功能
- C语言——第八章
- AVI文件格式
- Paxos在大型系统中常见的应用场景
- WiEngine游戏引擎学习笔记(一)
- 股票指数期货
- 线程分离状态
- 超链接删除
- Word上下标符号怎么打