天天看点

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,如需转载请自行联系原作者

继续阅读