mysql 源代码的安装步骤
时间:2009-02-24 来源:[email protected]
shell->useradd mysql
shell->passwd mysql shell->cd mysql-5.0.75 shell->./configure --prefix=/opt/mysql5
shell->make
shell->make install shell->cp support-files/my-medium.cnf /etc/my.cnf
shell->cd /opt/mysql5/ shell->chown -R mysql:mysql .
shell->bin/mysql_install_db --user=mysql
shell->chown -R root . shell->chown -R mysql var shell->./mysqld_safe --user=mysql & shell->./mysql shell->./mysqladmin shutdown
shell->passwd mysql shell->cd mysql-5.0.75 shell->./configure --prefix=/opt/mysql5
shell->make
shell->make install shell->cp support-files/my-medium.cnf /etc/my.cnf
shell->cd /opt/mysql5/ shell->chown -R mysql:mysql .
shell->bin/mysql_install_db --user=mysql
shell->chown -R root . shell->chown -R mysql var shell->./mysqld_safe --user=mysql & shell->./mysql shell->./mysqladmin shutdown
相关阅读 更多 +