mysql 为不同的用户设置单独的数据库管理权限

use mysql;
create user 用户名 identified by '密码';
grant all on 数据库名.* to 用户名;
flush privileges;

猜你喜欢

转载自blog.csdn.net/qianjiu/article/details/114825316