Installation and configuration of Centos7-mysql database

Source: Internet
Author: User

The default installation used previously was to install MySQL Mysql-server and 7. 0 here, it becomes mariadb.

Use Yum to install it.

1 Installing MariaDB
Run Yum install mariadb Mariadb-server
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" File:///tmp/ct_tmp/1.png "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "/>
2 Starting, configuring MARIADB
1, use Systemctl start mariadb ==> start mariadb
Systemctl enable mariadb ==> boot from
2, then run Mysql_secure_installation ==> set the root password and other related
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "alt=" File:///tmp/ct_tmp/2.png "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "/>650) this.width=650, "src="/e/u261/themes/default/images/spacer.gif "alt=" File:///tmp/ct_tmp/3.png "style=" background: URL ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid #ddd; "/> When Yes or no is selected My input order is yynny.
3 log in to MariaDB and create the appropriate database user and database
Log in using Mysql-uroot-p, and enter the password after the carriage return. Note that the password is not echoed;


Personal network problems can not upload pictures, there is a problem in the bottom of the message Oh ~

This article is from the "11593476" blog, please be sure to keep this source http://11603476.blog.51cto.com/11593476/1786056

Installation and configuration of Centos7-mysql database

Related Article

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.