From a691806cded9484893fd094f43895c3c2b54942f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E9=9B=85=E5=A9=B7?= <11802116+chen-yatin@user.noreply.gitee.com> Date: Mon, 1 Jul 2024 17:07:00 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AC=94=E8=AE=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../20240701-linux\345\256\211\350\243\205mysql.md" | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 "\351\231\210\351\233\205\345\251\267/20240701-linux\345\256\211\350\243\205mysql.md" diff --git "a/\351\231\210\351\233\205\345\251\267/20240701-linux\345\256\211\350\243\205mysql.md" "b/\351\231\210\351\233\205\345\251\267/20240701-linux\345\256\211\350\243\205mysql.md" new file mode 100644 index 0000000..0a7b5dc --- /dev/null +++ "b/\351\231\210\351\233\205\345\251\267/20240701-linux\345\256\211\350\243\205mysql.md" @@ -0,0 +1,12 @@ +#### Debian 安装mysql 8.0 ++ 1.下载mysql的deb包 + ++ 2.非Linux本机下载 - 下载以后使用scp上传到指定目录 + ++ 3.安装deb包,形成软件源文件 /etc/apt/sources.list.d/mysql.list + ++ 4.更新apt update,安装mysql apt install mysql-server + ++ 5.重启sql服务 + ++ 6.安装完成后,使用如下命令可以本地连接到数据库 mysql -u root -p \ No newline at end of file -- Gitee