11.1 Lamp Architecture Introduction
11.2 MySQL, Mariadb Introduction
11.3/11.4/11.5 MySQL Installation
The./scripts/mysql_install_db--user=mysql--datadir=/data/mysql prompts you to install additional packages, such as:
Run again./scripts/mysql_install_db--user=mysql--datadir=/data/mysql,
Copy # CP support-files/my-default.cnf/etc/my.cnf
CP: Do you want to overwrite "/etc/my.cnf"? N
Modify/ETC/MY.CNF, for example,
#cp Support-files/mysql.server/etc/init.d/mysqld
# vi/etc/init.d/mysqld, like
Set Boot #chkconfig--add mysqld
View boot entry # chkconfig--list
Start MySQL, #service mysqld start or #/etc/init.d/mysqld start
Extended
mysql5.5 source code Compilation installation http://www.aminglinux.com/bbs/thread-1059-1-1.html
mysql5.7 binary package installation (large variation) http://www.apelearn.com/bbs/thread-10105-1-1.html
Linux Learning Note April 9 task