博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
MySQL数据库开启、关闭、查看函数功能的方法
阅读量:4558 次
发布时间:2019-06-08

本文共 539 字,大约阅读时间需要 1 分钟。

应用 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%';

原文地址:https://blog.csdn.net/pk490525/article/details/7309207

转载于:https://www.cnblogs.com/lotuses/p/9999527.html

你可能感兴趣的文章
第十七章-异步IO
查看>>
Linux就该这么学
查看>>
out传值
查看>>
CentOS6.8【环境配置篇】
查看>>
线程同步的方式
查看>>
Mongodb 安装
查看>>
WPF窗口贴边隐藏(类似QQ)
查看>>
VS2008无法切换到视图设计器
查看>>
爱情故事:追忆似水流年 回味永恒的爱恋
查看>>
android mvn android:deploy签名问题
查看>>
transient
查看>>
[HDU 4348]To the moon
查看>>
初识【Windows API】--文本去重
查看>>
[转]IOS多线程
查看>>
详解spl_autoload_register() 与 __autoload
查看>>
Axure RP Extension for Chrome安装
查看>>
day_10
查看>>
ArcGIS API for JavaScript 入门教程[6] 再讲数据——Map类之可操作图层
查看>>
tfs2012 的体验地址
查看>>
打造专业外观-九宫图
查看>>