mysql-5.0.22.tar.gz 源码包的安装方法:
#groupadd mysql
#useradd -g mysql mysql
#tar -zxvf mysql-5.0.22.tar.gz
#cd mysql-5.0.22
#./configure --prefix=/usr/local/mysql
#make
#make install
#cp support-files/my-medium.cnf /etc/my.cnf
#cp support-files/mysql.server /etc/init.d/mysqld
#chmod 755 /etc/init.d/mysqld
#cd /usr/local/mysql
#chown -r mysql.mysql .
#./bin/mysql_install_db --user=mysql
#chown -r root .
#chown -r mysql var
#service mysqld start
阅读(4770) | 评论(0) | 转发(0) |