标签:mysq mysql nav 虚拟 cat with 远程 root flush
在虚拟机中进入mysql
mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘%‘ IDENTIFIED BY ‘123456‘ WITH GRANT OPTION;
Query OK, 0 rows affected (0.11 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.04 sec)
不需要重启,再试一次就OK了。。。
标签:mysq mysql nav 虚拟 cat with 远程 root flush
原文地址:http://www.cnblogs.com/sweet521/p/6061499.html