Skip to content

Commit

Permalink
Update 21-minutes-MySQL-basic-entry.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jan 26, 2022
1 parent 3e07e31 commit a9fc6fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 21-minutes-MySQL-basic-entry.md
Expand Up @@ -69,7 +69,7 @@ MySQL 为关系型数据库(Relational Database Management System),一个关
### 登录MySQL

```shell
mysql -h 127.0.0.1 -u 用户名 -p
mysql -h 127.0.0.1 -u <用户名> -p<密码>. # 默认用户名<root>,-p 是密码,⚠️参数后面不需要空格
mysql -D 所选择的数据库名 -h 主机名 -u 用户名 -p
mysql> exit # 退出 使用 “quit;” 或 “\q;” 一样的效果
mysql> status; # 显示当前mysql的version的各种信息
Expand Down

0 comments on commit a9fc6fb

Please sign in to comment.