you *might* want to use the less safe log_bin_trust_function_creators variable
2017-02-20 15:28
791 查看
报错: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
解决方法如下:
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
相关文章推荐
- you *might* want to use the less safe log_bin_trust_function_creators variable
- you *might* want to use the less safe log_bin_trust_function_creators variable
- you *might* want to use the less safe log_bin_trust_function_creators variable
- you *might* want to use the less safe log_bin_trust_function_creators variable
- 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] you *might* want to use the less safe log_bin_trust_function_creators variable
- 126.Identify the two situations in which you use the alert log file in your database to check the de
- mysql 错误 You need to use –log-bin to make –binlog-format work
- Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT' 和 You need to use --log-bin to make --binlog-format work.
- You are *required* to use the date.timezone setting or the date_default_timezone_set() function.
- You need to use --log-bin to make --binlog-format work.
- "PHP Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You
- 解决php It is not safe to rely on the system's timezone settings. You are *required* to use the date.
- Have you considered making your output() function use variable arguments like printf()? In the examp
- 72.You want to enable archiving on your database. Presently, the database is running in NOARCHIVELOG
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- log_bin_trust_function_creators & max_allowed_packet
- Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use
- 160 You want to use the automatic management of backup and recovery operations features for your dat