1:创建函数时提示:This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA ,因为当开启log-bin时,函数必须有参数,如果不想有参数,可以

set global log_bin_trust_function_creators=TRUE;  进行设置。  https://blog.csdn.net/topasstem8/article/details/8216740/
mysql> CREATE FUNCTION simpleFun()RETURNS VARCHAR(20) RETURN "Hello World!";
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=TRUE;
Query OK, 0 rows affected mysql> CREATE FUNCTION simpleFun()RETURNS VARCHAR(20) RETURN "Hello World!";
Query OK, 0 rows affected

最新文章

  1. bootstrap-select js jQuery控制select属性变化
  2. 阿里云服务器上开启linux远程桌面连接
  3. linux查看硬件常用命令
  4. Bootstrap modal被sliverlight掩盖。
  5. 有关于psExec的使用
  6. BZOJ1099 : [POI2007]树Drz
  7. Part 82 to 85 Talking about Generic queue, stack collection class
  8. hdu just a hook(线段树,区间修改)
  9. Binomial Coeffcients 历届山东省省赛题
  10. Spring整合Struts2,Hibernate的xml方式
  11. mysql进阶(二十七)数据库索引原理
  12. linux ./configure check your system clock
  13. linux 磁盘空间被占满但找不到目标文件的问题处理 lsof命令
  14. NOIP水题测试(2017082301)
  15. [LeetCode] 190. Reverse Bits_Easy tag: Bit Manipulation
  16. JQuer.HoverDir的基本使用方法
  17. Java clone方法(下)
  18. 安装 GraphicsMagick
  19. 【Udacity】朴素贝叶斯
  20. 7、Java并发编程:深入剖析ThreadLocal

热门文章

  1. CSS Sprite的应用
  2. github前端资源
  3. MAC快捷键使用大全
  4. day15<集合框架>
  5. swift--添加新手引导页
  6. Python 入门(六)Dict和Set类型
  7. 查看磁盘读写:iostat
  8. NodeJS路由(server.js + router.js)
  9. Egret3D初步学习笔记四 (地形使用)
  10. 【BZOJ4401/3004】块的计数/吊灯 乱搞