Install MariaDB Verison 10.8.6 in Centos

RonWang5 years ago (2021-05-19)科学研究 SCI8

Install MariaDB 10.8 on CentOS 8 These are the ideal steps you’ll go through when installing MariaDB 10.8 on CentOS 8 server. 

MariaDB

Step 1: Update System 

If you don’t have any critical services running in Production on the server, update the system before you begin installation of MariaDB on CentOS 8.

Bash
sudo yum update  -y

Step 2: Add MariaDB 10.8 repository to CentOS 8

We now need to add the MariaDB yum repository for our CPU architecture. This guide will cover adding repository for a x86_64 CPU machine.

Bash
curl -LsS -O https://downloads.mariadb.com/MariaDB/mariadb_repo_setupsudo bash mariadb_repo_setup --mariadb-server-version=10.8

Step 3: Install MariaDB 10.8 repository to CentOS 8

After adding Yum repository, you can proceed to install MariaDB repository to CentOS 8 straight away.

Bash
sudo yum install MariaDB-server MariaDB-client MariaDB-backup -y

When prompted, press y to accept installation:

Start and enable MariaDB service

Bash
sudo systemctl enable --now mariadb

Step 4: Secure MariaDB Database Server

Bash
sudo mariadb-secure-installation

Test access to database shell:

Bash
$ mysql -u root -p
$ Create datebase eshopex;$ SELECT user, host FROM mysql.user;

The ending install process.You can keep going next work.


Share with Friends:

Related Articles

Unnamed

eerer…

Unnamed

eerer…

Unnamed

撰写内容中………

Unnamed

eerer…

Unnamed

eerer…

Unnamed

eerer…

Post a Comment

Anonymous

Feel free to share your thoughts and opinions here.