HowTo install/start/secure/login MySQL/MariaDB Server on CentOS 7 – In a Minute
# yum install mariadb-server mariadb-client -y
# systemctl start mariadb
# systemctl enable mariadb
# systemctl status mariadb
# mysql_secure_installation
# mysql -V
# mysql -u root -p
centos 7