本文共 694 字,大约阅读时间需要 2 分钟。
打开MySQL 5.5 Command Line Client输入密码登陆mysql服务器
添加可以本地登陆root用户,密码root
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective owners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> show databases;
+--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | | tsql | +--------------------+ 5 rows in set (0.00 sec)mysql> grant all on *.* to identified by 'root';
Query OK, 0 rows affected (0.07 sec)mysql> flush privileges;
Query OK, 0 rows affected (0.08 sec)本文转自 pgmia 51CTO博客,原文链接:http://blog.51cto.com/heyiyi/892562
转载地址:http://menlx.baihongyu.com/