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