红联Linux门户
Linux帮助

linux安装.gz包mysql流程

发布时间:2007-12-30 11:40:03来源:红联作者:utanthut
#groupadd mysql
#useradd -g mysql mysql
#gzip -dc mysql.tar.gz | tar xvf -
#cd mysql
#./configure --prefix=/usr/local/mysql \
--without-debug \
--with-extra-charsets=gb2312 \
--enable-assembler \
--without-innodb \
--with-pthread \
--enable-thread-safe-client \
--with-client-ldflags=-all-static \
--with-mysqld-ldflags=-all-static
#make
#make install
#/usr/local/mysql/lscripts/mysql_install_db
#cp /usr/local/mysql/support-files/my-medium.cnf /etc/my.cnf
#chgrp mysql /etc/my.cnf
#/usr/local/mysql/bin/safe_mysqld --user=mysql &
#/usr/local/mysql/bin/mysqladmin -u root password '123456'
文章评论

共有 0 条评论