bitscn.com
mysql> grant all privileges on abctest.* to abctest@% identified by 'pass123' with grant option;
备注:abctest为数据库名,pass123为密码
query ok, 0 rows affected (0.00 sec)
mysql> flush privileges;
query ok, 0 rows affected (0.01 sec)
bitscn.com
