CENTOS7 installation of the MARIADB database

Source: Internet
Author: User
1. Installing the MARIADB Package

#yum-y Install mariadb mariadb-server

#rpm-qa | grep mariadb View installed MARIADB database package

2. Start the database service

#systemctl Start mariadb

3. Run the Database security settings (you must start the database before you can run this step)

After the #mysql_secure_installation runs, there are several settings for the first run direct carriage return
A) set a password for the root user
b) Delete Anonymous account
c) Remove the root user from remote login
d) Delete the test library and access to the test library
e) Refresh the authorization form for the changes to take effect
Note: When setting a password, you need to enter the password you want to set

4.mysql-u root-p into the database

Configuration End

Jing Tong
January 17, 2018

CENTOS7 installation of the MARIADB database

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.