Commit 66b9df4b by jscat

titan 授权访问mysql.proc和mysql.event

parent be597e4d
...@@ -5,7 +5,18 @@ grant all privileges on sharpe.* to sharpe_dev@'%' identified by '123456'; ...@@ -5,7 +5,18 @@ grant all privileges on sharpe.* to sharpe_dev@'%' identified by '123456';
grant all privileges on sharpe.* to sharpe_dev@'localhost' identified by '123456'; grant all privileges on sharpe.* to sharpe_dev@'localhost' identified by '123456';
grant all privileges on sharpe.* to sharpe_dev@'127.0.0.1' identified by '123456'; grant all privileges on sharpe.* to sharpe_dev@'127.0.0.1' identified by '123456';
flush privileges; flush privileges;
exit;
###
#used_for mysqldiff
grant select on mysql.proc to sharpe_dev@'%' identified by '123456';
grant select on mysql.proc to sharpe_dev@'localhost' identified by '123456';
grant select on mysql.proc to sharpe_dev@'127.0.0.1' identified by '123456';
grant select on mysql.event to sharpe_dev@'%' identified by '123456';
grant select on mysql.event to sharpe_dev@'localhost' identified by '123456';
grant select on mysql.event to sharpe_dev@'127.0.0.1' identified by '123456';
flush privileges;
exit;
###
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论