mysql8以后创建用户和权限管理的命令略有修改
- 创建用户
create user 'test1'@'localhost' identified by '‘密码';
2、修改密码
alter user 'test1'@'localhost' identified by '新密码';
3、授权
grant all privileges on *.
mysql8以后创建用户和权限管理的命令略有修改
create user 'test1'@'localhost' identified by '‘密码';
2、修改密码
alter user 'test1'@'localhost' identified by '新密码';
3、授权
grant all privileges on *.