CENTOS7 installation of MARIADB and phpMyAdmin
One: Install MARIADB,
MARIADB is a branch of MySQL, basically the same as MySQL
1.
Yum-y Install Mariadb-server
2.
Vi/etc/my.cnf.d/server.cnf
Add in line 13th
Character-set-server=utf8
3. Start the MARIADB service
Service mariadb Startsystemctl Enable MARIADB
4: Configure MARIADB
Mysql_secure_installation
Setting mariadb is the MySQL password, and then, some basic hints y/n
5. Finally connect to the database
MySQL -u root-p
Reference: HTTP://WWW.SERVER-WORLD.INFO/EN/NOTE?OS=CENTOS_7&P=MARIADB
Two: Install phpMyAdmin,
By default, the Yum resource is not phpmyadmin and cannot be installed directly;
But we can install phpMyAdmin by configuring Epel
The process is as follows
First install the configuration Epel http://www.server-world.info/en/note?os=CentOS_7&p=initial_conf&f=6
Install phpMyAdmin http://www.server-world.info/en/note?os=CentOS_7&p=mariadb&f=2 with Epel
CENTOS7 installation of MARIADB and phpMyAdmin