Home > Database > Mysql Tutorial > mysql 创造fucntion或者procedure

mysql 创造fucntion或者procedure

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:23:32
Original
1082 people have browsed it

mysql 创建fucntion或者procedure 转载: http://www.2cto.com/database/201307/227471.html log_bin_trust_function_creators错误解决 当有mysql本地或远程建立function或procedure时报上面的错误 经试验是log_bin_trust_function_creators值为off导致 设置

mysql 创建fucntion或者procedure
转载:http://www.2cto.com/database/201307/227471.html

log_bin_trust_function_creators错误解决

当有mysql本地或远程建立function或procedure时报上面的错误
经试验是log_bin_trust_function_creators值为off导致

设置:

set global log_bin_trust_function_creators=1;



但重启后失效

永久解决方法

windows下my.ini[mysqld]加上log_bin_trust_function_creators=1

linux下/etc/my.cnf下my.ini[mysqld]加上log_bin_trust_function_creators=1



保存 ,重启服务器。
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template