开发者

Create user and privileges to DB in MySQL VIA script

开发者 https://www.devze.com 2022-12-17 15:24 出处:网络
I need to create a script that can cre开发者_如何学JAVAate a user/password and grant then certain privileges on a local DB.

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

精彩评论

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