博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Windows Mysql添加用户
阅读量:5989 次
发布时间:2019-06-20

本文共 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/

你可能感兴趣的文章