집 >데이터 베이스 >MySQL 튜토리얼 >mysql重置权限_MySQL
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)