报错:you *might* want to use the less safe log_bin_trust_function_creators variable

解决方法如下:

  1. mysql> SET GLOBAL log_bin_trust_function_creators = 1;

  2. 系统启动时 --log-bin-trust-function-creators=1

  3. 在my.ini(linux下为my.conf)文件中 [mysqld] 标记后加一行内容为 log-bin-trust-function-creators

 

 

报错:Error Code: 1153 - Got a packet bigger than 'max_allowed_packet' bytes

SET GLOBAL max_allowed_packet = 2*1024*1024*10;

或者在my.cnf中添加配置:

max_allowed_packet = 20M

相关文章:

  • 2022-02-18
  • 2022-12-23
  • 2022-12-23
  • 2021-06-26
  • 2021-10-08
  • 2021-09-29
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2021-06-06
  • 2022-01-18
  • 2022-02-10
  • 2021-12-11
  • 2021-05-01
  • 2022-12-23
  • 2021-12-02
相关资源
相似解决方案