Windows Mysql添加用户
打開(kāi)MySQL 5.5 Command Line Client輸入密碼登陸mysql服務(wù)器
添加可以本地登陸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?root@localhost?identified by 'root';
Query OK, 0 rows affected (0.07 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.08 sec)
?
本文轉(zhuǎn)自 pgmia 51CTO博客,原文鏈接:http://blog.51cto.com/heyiyi/892562
總結(jié)
以上是生活随笔為你收集整理的Windows Mysql添加用户的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問(wèn)題。
- 上一篇: crontab日志
- 下一篇: Linux下安装mysql遇到的一些问题