Skip to content

Commit a9fc6fb

Browse files
authored
Update 21-minutes-MySQL-basic-entry.md
1 parent 3e07e31 commit a9fc6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

21-minutes-MySQL-basic-entry.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ MySQL 为关系型数据库(Relational Database Management System),一个关
6969
### 登录MySQL
7070

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

0 commit comments

Comments
 (0)