Rate This Document
Findability
Accuracy
Completeness
Readability

Overview

This document describes how to compile and install MySQL on a Kunpeng server running openEuler or CentOS. This document describes three methods to install MySQL: Installing the RPM package from the official website, installing the RPM package from the mirror site (recommended), or using source code compilation. Select a method based on your actual requirements.

openEuler does not support installation using RPM packages. For details about how to install MySQL by compiling the source code, see MySQL Porting Guide.

Introduction

MySQL is a relational database management system (RDBMS) developed by MySQL AB in Sweden. It is one of the most popular RDBMSs, especially for web applications. This document describes how to install MySQL on a physical machine, KVM, and Docker container.

Relational databases deliver high efficiency and flexibility because data is stored in different tables instead of in a large data warehouse. MySQL is optimal for small- and medium-sized websites thanks to its small size, fast speed, low cost, and especially the open source code.

MySQL uses the Structured Query Language (SQL), the most common standard language for accessing databases.

MySQL uses dual-licensing distribution and is available in two editions: community edition and commercial edition.

For more information, visit the official MySQL website.

Programming language: C/C++

Brief description: RDBMS

When using open source software, comply with the applicable licenses.

Recommended Version

MySQL 5.7.27, MySQL 8.0.17, MySQL 8.0.25, and later versions.

You need to upgrade MySQL 8.0.16 by installing the patch on the official website.