Maison >base de données >tutoriel 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)