Install MariaDB 10.3 on CentOS 7
MariaDB is an Open Source MySQL drop-in replacement. MariaDB provides a repository for various operating systems at
https://mariadb.org/download/?tab=repo-config
To install MariaDB 10.3 on CentOS 7, create a file
1 |
vi /etc/yum.repos.d/MariaDB.repo |
Add
1 2 3 4 5 |
[mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.3/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 |
Install the MariaDB server and client with
1 |
yum install MariaDB-server MariaDB-client |
Enable MariaDB to start on boot
1 |
systemctl enable mariadb |
Start MariaDB
1 |
systemctl start mariadb |