您的位置:首页 > Web前端

you *might* want to use the less safe log_bin_trust_function_creators variable

2018-02-11 12:06 691 查看
在还原MySQL function时,发现导入不进去,提示you *might* want to use the less safe log_bin_trust_function_creators variable;
发现是MySQL的配置问题,需要配置binlog中信任创建方法;
即时生效的设置方法:

mysql> SET GLOBAL log_bin_trust_function_creators = 1;
配置文件my.cnf设置方法: mysqld中设置log_bin_trust_function_creators = 1参考:https://dev.mysql.com/doc/refman/5.7/en/stored-programs-logging.html
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐