Skip to Content

Blog dr. Salim Mulyana

Dokter, Opreker

Cara Install Mariadb di CentOs 7

Comment
by November 10, 2018 CentOS

Untuk menginstall mariadb di CentOS 7 lakukan langkah-langkah berikut ini:

  1. Tambahkan repo Mariadb

nano /etc/yum.repos.d/MariaDB.repo

isinya

[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.1/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

2. Install Mariadb
yum install MariaDB-server MariaDB-client -y

3. Jalankan service mariadb
systemctl start mariadb

systemctl enable mariadb

systemctl status mariadb

 

4. Setting password mariadb

mysql_secure_installation

Ikuti langkah-langkah yang muncul dilayar


Previous
Next

One commentcomments

Leave a Reply

Your email address will not be published. Required fields are marked *

*