Home >Database >Mysql Tutorial >mysql重置权限_MySQL

mysql重置权限_MySQL

WBOY
WBOYOriginal
2016-06-01 13:45:591206browse

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
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn