2024年6月15日发(作者:)

CentOS7 下的mysql安装与配置

包括第一:CentOS7安装nexu

第二:CentOS安装docker

之前虽然也安装过多次mysql,但每次都会遇到各种小问题,这次记录下来,以备

后查。

首先是下载与安装

# wget /get/mysql-community-release-el7-

# rpm -ivh

# yum install mysql-community-server

安装过程中间会出现选择y/n的,直接输入y即可,如下:

[root@APP1 /]# wget /get/mysql-community-release-

--2017-10-21 22:59:14-- /get/mysql-community-

Resolving ()... 137.254.60.11

Connecting to ()|137.254.60.11|:80... connected.

HTTP request sent, 301 Moved Permanently

Location: /get/mysql-community-release-el7-

[following]

--2017-10-21 22:59:14-- /get/mysql-community-

Connecting

connected.

to ()|137.254.60.11|:

HTTP request sent, 302 Found

Location:

[following]

//mysql-community-release-el7-

--2017-10-21 22:59:16-- //mysql-community-release-