HuyPV
Tuesday, December 27, 2011
#yum install cmake
#yum install gcc-c++
#yum install bison
# Preconfiguration setup
groupadd mysql
useradd -r -g mysql mysql
# Beginning of source-build specific instructions
tar zxvf mysql-5.5.18.tar.gz
cd mysql-5.5.18
cmake .
make
make install
# End of source-build specific instructions
# Postinstallation setup
cd /usr/local/mysql
chown -R mysql .
chgrp -R mysql .
scripts/mysql_install_db --user=mysql
chown -R root .
chown -R mysql data
# Next command is optional
cp support-files/my-medium.cnf /etc/my.cnf
bin/mysqld_safe --user=mysql &
# Next command is optional
cp support-files/mysql.server /etc/init.d/mysql.server
Title:
Build MySQL 5.5 from source
Description:
#yum install cmake #yum install gcc-c++ #yum install bison # Preconfiguration setup groupadd mysql useradd -r -g mysql mysql # Beginn...
...
Rating:
4