首页 > 数据库 > MySQL > MySQL 用户管理命令速记
mysql> create user 'test1'@'vh1.com' identified by 'pass';
mysql> grant all on db.* to 'test1'@'vh1.com' with max_user_connections 30;
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/46332/viewspace-1024857/ ,如需转载,请注明出处,否则将追究法律责任。