• Last tested on CentOS 7 (2018/4/22)
  1. Install required packages
    $ sudo yum -y install mariadb-server mariadb
    
  2. Enable and start service
    $ sudo systemctl start mariadb
    $ sudo systemctl enable mariadb
    
  3. Update root password
    $ mysqladmin --user=root password "password172634"