MySQL常用命令 Yangyou 2019-05-13 MySQL 创建用户1create user username identified by 'password'; 授权12grant all privileges on dbname.* to username@'%' identified by 'password';flush privileges;