CentOS 6.5 x64 installed on MARIADB10

Source: Internet
Author: User

1. # tar zxvf mariadb-10.0.14-linux-x86_64.tar.gz
2. # cp-r Mariadb-10.0.14-linux-x86_64/usr/local/mysql
3. # useradd MySQL

Add MySQL user to MySQL group

4, # Chown Mysql:mysql-r/usr/local/mysql

Sets the user and user group attribution for the MySQL directory.

5, # chmod +x-r/usr/local/mysql

Grant executable permission

6. # CP/USR/LOCAL/MYSQL/SUPPORT-FILES/MY-MEDIUM.CNF/ETC/MY.CNF

Copy the default MySQL configuration file to/etc directory

7, #/usr/local/mysql/scripts/mysql_install_db--user=mysql--basedir=/usr/local/mysql--datadir=/usr/local/mysql/ Data &
Initializing database 8, # Cp/usr/local/mysql/support-files/mysql.server/etc/init.d/mysql

Copy the MySQL service program to the system directory

9. # chkconfig MySQL on

Add MySQL to system service and set to boot

10. # service MySQL Start

Start MySQL
Or

/usr/local/mysql/bin/mysqld_safe--user=mysql &


This article is from the "Starseven" blog, make sure to keep this source http://lcpljc.blog.51cto.com/200989/1561177

CentOS 6.5 x64 installed on MARIADB10

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.