VPS侦探论坛

 找回密码
 注册
查看: 4284|回复: 2

mysql问题,急

[复制链接]
发表于 2012-10-2 22:10:53 | 显示全部楼层 |阅读模式

我安装程序上去,程序报错误
  1. Warning: mysqli_query() [function.mysqli-query]: (HY000/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) in
复制代码
提示要开启什么二进制日记 log_bin_trust_function_creators = 1
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2012-10-2 22:16:40 | 显示全部楼层

回复 1# 的帖子



补充一下,我使用了my-huge.cnf 配置文件
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2012-10-3 08:34:29 | 显示全部楼层

mysql -uroot -p 输入密码登录后
show variables like '%func%';
+---------------------------------+-------+
| Variable_name | Value |
+---------------------------------+-------+
| log_bin_trust_function_creators | OFF |
+---------------------------------+-------+
1 row in set (0.00 sec)
可能是这样,再
set global log_bin_trust_function_creators=1;

再 show variables like '%func%';

quit 退出

重启mysql
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-23 19:20 , Processed in 0.025121 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表