Installation on Centos 7 is as follows;
Step 1: Install
sudo yum install mariadb-server mariadbStep 2: Configure and assign database root password
sudo systemctl start mariadbsudo mysql_secure_installation
sudo systemctl enable mariadb
Step 3: Verify
mysql -u root -p
Configuration of the database can be done with the files at
/etc/my.cnf
/etc/my.cnf.d/*
To allow access of the database through the firewall.
sudo firewall-cmd --permanent --add-service=mysql
No comments:
Post a Comment