Install MariaDB (CentOS 8)

If you read the article and think "Isn't it okay?", Please LGTM.

Prerequisites

-Install MariaDB on CentOS built with docker ・ The version of CentOS is as follows

$ cat /etc/redhat-release
CentOS Linux release 8.2.2004 (Core)

Install MariaDB

Add repository

$ wget https://downloads.mariadb.com/MariaDB/mariadb_repo_setup
$ chmod +x mariadb_repo_setup
$ ./mariadb_repo_setup

install

$ yum install MariaDB-server MariaDB-client

Check if it was installed

$ mariadb --version
mariadb  Ver 15.1 Distrib 10.5.7-MariaDB, for Linux (x86_64) using readline 5.1

Make initial settings

Run the initialization script

$ /usr/bin/mysql_secure_installation

Press Enter except for the new password setting Set a new password with the new password setting as shown below

New password:
Re-enter new password:

Then press Enter all

log in

Log in with the following command You will be asked for a password when you log in, so enter the password you set.

$ mariadb -u root -p

Recommended Posts

Install MariaDB (CentOS 8)
[CentOS] Install apache-loggen
How to install MariaDB 10.4 on CentOS 8
Install Golang on CentOS 8
Install Neo4j 4.1.3 on centOS
[CentOS7] Install aws cli
Install Vertica 10.0 on CentOS 6.10
Install PostgreSQL 12 on Centos8
Install nginx on centOS7
Install Python 3 on CentOS 7
Install kuromoji on CentOS7
Install Mattermost on CentOS 7
Install PostGIS 2.5.5 on CentOS7
Install jpndistrict on CentOS 7
Install Redmine 4.1.1 on CentOS 7
Smokeping Install on CentOS7
Install PostgreSQL 13 on CentOS 7.5
Network install CentOS 8 with Kickstart.
Install CentOS Stream8 in VirtualBox
Install OpenFOAM v2006 on CentOS
Install Jenkins on Docker's CentOS
Install Apache on CentOS on VirtualBox
Install Ruby 2.7 on CentOS 7 (SCL)
Install MariaDB on Raspberry Pi OS
Install Ruby 2.5 on CentOS 7 using SCL
Install CentOS Stream 8 in Hyper-V environment
Install Java Open JDK 8 on CentOS 7
Install apache 2.4.46 from source on CentOS7
Steps to install MySQL 8 on CentOS 8
Steps to install devtoolset-6 on CentOS 7
Install Java 9 on windows 10 and CentOS 7
Install Golang / MariaDB on CentOS8, connect to DB and execute SQL
Install samba4 from source code on CentOS8
Install the webmail client Rainloop on CentOS 8
How to install beta php8.0 on CentOS8
Install RSpec
Install CentOS 7 on Raspberry pi 4 Model B
OwlgardenRPA --Install
Install qiita_org
CentOS8.2 (x86_64) + ruby2.5 + Rails5.2 + MariaDB (10.3.17) environment construction
Install NextCloud on CentOS 7 with Alibaba Cloud ECS
Install GitLab on CentOS 8 with no internet connection
[CentOS7] Install aws cli regardless of python version
Install CMS Made Simple v2.2.2 on LAMP on CentOS 7.3
Reference articles and books used to install CentOS