如果我重新启动mysql服务器,它会自动将该值更改为默认值。
mysql> show global variables like 'log_bin_trust_function_creators';
+---------------------------------+-------+
| Variable_name | Value |
+---------------------------------+-------+
| log_bin_trust_function_creators | OFF |
+---------------------------------+-------+
1 row in set (0.00 sec)
mysql> SET GLOBAL log_bin_trust_function_creators = ON;
Query OK, 0 rows affected (0.00 sec)无论发生什么,我都想让这个函数生效。
有没有办法使它成为my value to default值?
发布于 2012-05-17 19:55:17
在option file中指定log-bin-trust-function-creators选项(如果愿意,也可以在命令行上使用mysqld的--log-bin-trust-function-creators参数)。
https://stackoverflow.com/questions/10635245
复制相似问题