linux mysql 5.6 source code install[@more@]
# isntall cmake
shell>tar -zxvf cmake.tar.gz
shell>./bootstrap
shell>make
shell>make install
# Preconfiguration setup
shell> groupadd mysql
shell> useradd -r -g mysql mysql
# Beginning of source-build specific instructions
shell> tar zxvf mysql-VERSION.tar.gz
shell> cd mysql-VERSION
shell> cmake .
shell> make
shell> make install
# End of source-build specific instructions
# Postinstallation setup
shell> cd /usr/local/mysql
shell> chown -R mysql .
shell> chgrp -R mysql .
shell> scripts/mysql_install_db --user=mysql
shell> chown -R root .
shell> chown -R mysql data
shell> bin/mysqld_safe --user=mysql &
# Next command is optional
shell> cp support-files/mysql.server /etc/init.d/mysql.server
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/309902/viewspace-1060871/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/309902/viewspace-1060871/