开发者

Create user and privileges to DB in MySQL VIA script

I need to create a script that can cre开发者_如何学JAVAate a user/password and grant then certain privileges on a local DB.

Thanks in advance!

-Sol


GRANT ALL PRIVILEGES ON DB.* TO 'user'@'%' IDENTIFIED BY 'password';
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜