网站首页  汉语字词  英语词汇  考试资料  写作素材  旧版资料

请输入您要查询的范文:

 

标题 MySQL数据库开启、关闭、查看函数功能的方法
范文
    应用 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%';
随便看

 

在线学习网范文大全提供好词好句、学习总结、工作总结、演讲稿等写作素材及范文模板,是学习及工作的有利工具。

 

Copyright © 2002-2024 cuapp.net All Rights Reserved
更新时间:2025/5/24 19:01:48