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