错误信息:
[Err] 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)
原因:
这是我们开启了bin-log, 我们就必须指定我们的函数是否是
1 DETERMINISTIC 不确定的
2 NO SQL 没有SQl语句
3 READS SQL DATA 只是读取数据
4 MODIFIES SQL DATA 要修改数据
5 CONTAINS SQL 包含SQL语句
其中在function里面,只有 DETERMINISTIC, NO SQL 和 READS SQL DATA 被支持。如果我们开启了 bin-log, 我们就必须为我们的function指定一个参数。
在MySQL中创建函数时出现这种错误的解决方法:
set global log_bin_trust_function_creators=TRUE;
or
set global log_bin_trust_function_creators=1;
或者在mysql的服务下修改my.ini配置文件如下:
log-bin=binlog
log_bin_trust_function_creators=1
相关推荐
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_...
libcom_err-devel-1.42.9-19.el7.i686.rpm
This function delete all the reference or list objects that user has forgotten to delete. Parameters: In: None Out: None Returns: Returns EDS_ERR_OK if successful. In other cases, see ...
离线安装包,亲测可用
离线安装包,亲测可用
centos6,linux系统,rpm资源:libcom_err-1.41.12-24.el6.x86_64.rpm
libcom_err-1.41.12-23.el6.x86_64.rpm libcom_err-1.41.12-23.el6.x86_64.rpm
centos6,linux系统,rpm资源:libcom_err-devel-1.41.12-24.el6.x86_64.rpm
需要先安装完破解补丁,将Launcher.cmd放到游戏根目录和launcher.exe一起。通过管理员权限打开Launcher.cmd来启动游戏。
本文将为大家介绍交换机出现err-disable的原因及解决方法。
详细描述了CISCO 交换机出现err-disabled 的原因及解决办法
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
' code or 0 if no error occurs. The routine CommGetError can be used to get ' the complete error message. '------------------------------------------------------------------------------- '-----------...
Navicat导入sql报错[Err] 1046 – No database selected 今天系统重装了,就很完蛋。所有东西都重新下载安装。向Navicat导入sql的时候导入失败: 报错[Err] 1046 – No database selected。我很疑惑地又导了几次...
c not necessarily test the validity of the input data unless arrays are c involved (np and pm)). c open (iof2, file='startup', status='old', iostat=lerr) if (lerr .ne. 0) then write(*,*) ' Error ...
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
errbotSQL存储插件 关于 是一个python chatbot,此存储... BOT_EXTRA_STORAGE_PLUGINS_DIR = '/home/gbin/err-storage' STORAGE = 'SQL' STORAGE_CONFIG = { 'data_url' : 'postgresql://scott:tiger@localhost/tes
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
官方离线安装包,亲测可用。使用rpm -ivh [rpm完整包名] 进行安装
由于使用最新版本的nodejs安装,然后再HBuilderX安装npm install时出现...npm ERR! gyp ERR! node -v v16.14.2 npmERR! gyp ERR! node-gyp -v v3.8.0 npm ERR! gyp ERR! not ok 原因:由于项目和版本之间不兼容导致