首页 > 代码库 > 在Centos7 上面 安装mysql7 简录

在Centos7 上面 安装mysql7 简录

In a web browser, visit mysql.com page:

https://dev.mysql.com/downloads/repo/yum/

Locate the desired version, and update it as needed in the link below:

技术分享

Execute the following command

  dnf install mysql-server

enable mysql services:

  systemctl enable mysqld

start mysql services

  systemctl start mysqld

configuring mysql server

  sudo mysql_secure_installation

stop mysql service

  systemctl stop mysqld

view mysql status

  systemctl status mysqld

 

在Centos7 上面 安装mysql7 简录