时间:2021-07-01 10:21:17 帮助过:34人阅读
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)