Lecture 77: Building MySQL database version 5.7 in binary mode and error log management

Build MySQL database version 5.7 in binary mode

The previous one is a MySQL database installed using yum. In enterprise production environments, most of them are installed in binary mode.

This time, the binary method is used to build MySQL 5.7.36 version.

1. Binary installation of MySQL5.7 version

1.1. Download the binary file of MySQL5.7 version

[root@mysql ~]# wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.36-linux-glibc2.12-x86_64.tar.gz

1.2. Create the mysql user to manage the MySQL service

[root@mysql ~]# groupadd -r mysql
[root@mysql ~]# useradd -M -r -s /sbin/nologin -g mysql mysql

おすすめ

転載: blog.csdn.net/weixin_44953658/article/details/134940494