From f8d67637cc1cc501598ab7d4fc7f0d1ca4504f80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=8B=E6=96=97=E7=9A=84=E5=B0=8F=E6=9E=9C?= <52897691+haonange1314@users.noreply.github.com> Date: Wed, 17 Aug 2022 09:22:36 +0800 Subject: [PATCH] Update a-thousand-lines-of-mysql-study-notes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mysql连接命令的[地址]是-h --- docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md b/docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md index 446f679e..a55af159 100644 --- a/docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md +++ b/docs/database/mysql/a-thousand-lines-of-mysql-study-notes.md @@ -19,7 +19,7 @@ tag: -- 创建Windows服务 sc create mysql binPath= mysqld_bin_path(注意:等号与值之间有空格) /* 连接与断开服务器 */ -mysql -u 地址 -P 端口 -u 用户名 -p 密码 +mysql -h 地址 -P 端口 -u 用户名 -p 密码 SHOW PROCESSLIST -- 显示哪些线程正在运行 SHOW VARIABLES -- 显示系统变量信息 ```