DCL1 创建用户语法:CREATE USER 用户名@地址 IDENTIFIED BY '密码';CREATE USER user1@localhost IDENTIFIED BY '123'; CREATE USER user2@'%' IDENTIFIED BY '123'; 2 给用户授权 语法:GRANT 权限1, - , 权限n ON 数据库.* TO 用户名@IPGRANT CREATE,ALTER,DROP,INSERT,UPDATE,DELETE,SELECT ON mydb1