From 801bd56d448781780c844a35221353270485c8c3 Mon Sep 17 00:00:00 2001 From: colben Date: Tue, 6 Aug 2024 14:46:50 +0800 Subject: [PATCH] update --- content/post/mysql-install.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/content/post/mysql-install.md b/content/post/mysql-install.md index a0f8795..d00ae57 100644 --- a/content/post/mysql-install.md +++ b/content/post/mysql-install.md @@ -1,6 +1,6 @@ --- title: "安装 MySQL" -date: 2019-10-30T13:00:28+08:00 +date: 2019-10-30T13:00:37+08:00 lastmod: 2024-07-05T20:36:00+08:00 tags: ["centos", "yum", "mysql"] categories: ["database"] @@ -134,7 +134,7 @@ categories: ["database"] ## 安装 MySQL8 通用二进制包 ### 环境 - CentOS 7.9 x86_64 最小安装 -- MySQL 8.0.28 多实例 +- MySQL 8.0.37 多实例 - 普通用户 mortal ### 安装 mysql @@ -148,20 +148,20 @@ categories: ["database"] ```bash cd ~ # 这是 debug 版本,软件包很大 - curl -LO https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-8.0/mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz + curl -LO https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.37-linux-glibc2.17-x86_64.tar.xz # 这是 strip 版本,软件包轻量,推荐 - curl -LO https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-8.0/mysql-8.0.28-linux-glibc2.17-x86_64-minimal.tar.xz + curl -LO https://downloads.mysql.com/archives/get/p/23/file/mysql-8.0.37-linux-glibc2.17-x86_64-minimal.tar.xz ``` - 解压 ```bash cd ~ # debug 版本 - tar xf mysql-8.0.28-linux-glibc2.12-x86_64.tar.xz - mv mysql-8.0.28-linux-glibc2.12-x86_64 mysql + tar xf mysql-8.0.37-linux-glibc2.12-x86_64.tar.xz + mv mysql-8.0.37-linux-glibc2.12-x86_64 mysql # strip 版本 - tar xf mysql-8.0.28-linux-glibc2.17-x86_64-minimal.tar.xz - mv mysql-8.0.28-linux-glibc2.17-x86_64-minimal mysql + tar xf mysql-8.0.37-linux-glibc2.17-x86_64-minimal.tar.xz + mv mysql-8.0.37-linux-glibc2.17-x86_64-minimal mysql ``` - 创建三个实例的目录