当前位置:Gxlcms > mysql > mysql重置权限_MySQL

mysql重置权限_MySQL

时间:2021-07-01 10:21:17 帮助过:34人阅读

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

人气教程排行