mysql 创建用户 远程登录数据库

来源:转载

  • 登录
mysql -u root -puse mysql;insert into user(host,user,password) values('%','mpm',password('mpm123'));flush privileges;create database mpm;grant all privileges on mpm.* to [email protected]"%" identified by 'mpm123';flush privileges;

分享给朋友:
您可能感兴趣的文章:
随机阅读: