天天看點

mysql5.7 建立一個超級管理者

mysql> grant all on . to admin@'localhost' identified by '123456';

Query OK, 0 rows affected, 2 warnings (0.00 sec)

mysql> grant all on . to admin@'localhost' with grant option;

Query OK, 0 rows affected, 1 warning (0.00 sec)

mysql>

grant all on . to admin@'localhost' identified by '123456';

grant all on . to admin@'localhost' with grant option;

本文轉自 小小三郎1 51CTO部落格,原文連結:http://blog.51cto.com/wsxxsl/2049016,如需轉載請自行聯系原作者

繼續閱讀