Mysql新建用户并设置权限

CREATE USER usernameIDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON *.* TO username@"%";
flush privileges;

猜你喜欢

转载自lucky16.iteye.com/blog/1913527