CENTOS7 installation of MARIADB and phpMyAdmin

Source: Internet
Author: User
Tags phpmyadmin

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.