MariaDB

Photo of author

fahmialazhar

Allow Remote Access MySQL / MariaDB CentOS 7

After MySQL / MariaDB successfully installed, may be you want to give remote access to the server. Lets say the database server’s IP is 192.168.10.105, and you have web server at 192.168.10.100 so what you must to do is, open the terminal and: vi /etc/my.cnf.d/server.cnf uncomment #bind-address and fill it with your MySQL server’s IP bind-address=192.168.10.105 save … Read more

Manajemen Database dan User MySQL/MariaDB CentOS 7

Create User: create user ‘user’@’localhost’ identified by ‘password’; Create Database: create database monitoring; Assign user to database monitoring: grant all privileges on monitoring . * to ‘user’@’localhost’; monitoring adalah: nama databasenya, * berarti semua table nya Terakhir: flush privileges; Notes: GRANT [type of permission] ON [database name].[table name] TO ‘[username]’@’localhost’; REVOKE [type of permission] ON … Read more

Install MariaDB 10 di CentOS 7

Bikin file repo baru di /etc/yum.repos.d/, misal MariaDB.repo, isi: # MariaDB 10.1 CentOS repository list – created 2016-10-11 08:34 UTC # http://downloads.mariadb.org/mariadb/repositories/ [mariadb] name = MariaDB baseurl = http://yum.mariadb.org/10.1/centos7-amd64 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1 install: yum install MariaDB-server MariaDB-client referensi: https://downloads.mariadb.org/mariadb/repositories/ setelah install: systemctl start mariadb jalankan: mysql_secure_installation, ikuti langkah2 di terminal