From 62d9607b68071dea94ae3101a536d3a3780cbfd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=99=93=E5=BD=A4?= <11772389+hilda-chenxioatong@user.noreply.gitee.com> Date: Mon, 1 Jul 2024 03:32:20 +0000 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 Signed-off-by: 陈晓彤 <11772389+hilda-chenxioatong@user.noreply.gitee.com> --- ...1-\346\225\260\346\215\256\345\272\223.md" | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 "\351\231\210\346\231\223\345\275\244/20240701-\346\225\260\346\215\256\345\272\223.md" diff --git "a/\351\231\210\346\231\223\345\275\244/20240701-\346\225\260\346\215\256\345\272\223.md" "b/\351\231\210\346\231\223\345\275\244/20240701-\346\225\260\346\215\256\345\272\223.md" new file mode 100644 index 0000000..68291b4 --- /dev/null +++ "b/\351\231\210\346\231\223\345\275\244/20240701-\346\225\260\346\215\256\345\272\223.md" @@ -0,0 +1,38 @@ +## 数据库 + +postgresql + +mysql/mariaDB + +MySQL Yum Repository 适用于红帽子系列的操作系统: + +RHEL、Centos(Centos Stream)、Fedaro MySQL APT Repository + +适用Debian系列的操作系统: + +Debian、Ubuntu、KLinux MySQL SUSE Repository SUSE德国的Linux发行版本 + +linux系统安装软件通常有哪些方式: + +包管理器 + +压缩包安装 + +编译安装 + +Debian 安装mysql 8.0 + +下面以Debian12 安装mysql 8.0为例,梳理安装过程: + +下载mysql的deb包 + +1.Linux本机下载 - wget http://mysql... 2.非Linux本机下载 - 下载以后使用scp上传到指定目录 + +安装deb包,形成软件源文件 /etc/apt/sources.list.d/mysql.list + +安装mysql apt install mysql-server + +安装完成后,使用如下命令可以本地连接到数据库 mysql -u root -p + + + -- Gitee