############################## ############################## ############################## ###
mysql-5.5.25-linux2.6-i686. tar.gz generic binary installation on redhat
############################## ############################## ############################## ###
step 1) Downlaod the above package from http://dev.mysql.com/ downloads/mysql/
step 2) # groupadd mysql
# useradd -r -g mysql mysql
# scp mysql-5.5.25-linux2.6-i686. tar.gz /usr/local
# cd /usr/local
# tar zxvf mysql-5.5.25-linux2.6-i686. tar.gz
# ln -s mysql-5.5.25-linux2.6-i686 mysql
# cd mysql
# chown -R mysql .
# chgrp -R mysql .
# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/ data
# chown -R root .
# chown -R mysql data
Next command is optional
# cp support-files/my-medium.cnf /etc/my.cnf
# cp support-files/mysql.server /etc/init.d/mysql
start the mysql server
# bin/mysqld_safe --user=mysql &
or
#/etc/init.d/mysql start
or
#support-files/mysql.server start
#cd /usr/local/mysql/bin
#mv * /usr/bin
#cd ../
#rm -fr /usr/local/mysql/bin
#ln -s /usr/bin /usr/local/mysql/bin
############################## ############################## ############################## ##
mysql-5.5.25-linux2.6-i686.
##############################
step 1) Downlaod the above package from http://dev.mysql.com/
step 2) # groupadd mysql
# useradd -r -g mysql mysql
# scp mysql-5.5.25-linux2.6-i686.
# cd /usr/local
# tar zxvf mysql-5.5.25-linux2.6-i686.
# ln -s mysql-5.5.25-linux2.6-i686 mysql
# cd mysql
# chown -R mysql .
# chgrp -R mysql .
# ./scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/usr/local/mysql/
# chown -R root .
# chown -R mysql data
Next command is optional
# cp support-files/my-medium.cnf /etc/my.cnf
# cp support-files/mysql.server /etc/init.d/mysql
start the mysql server
# bin/mysqld_safe --user=mysql &
or
#/etc/init.d/mysql start
or
#support-files/mysql.server start
#cd /usr/local/mysql/bin
#mv * /usr/bin
#cd ../
#rm -fr /usr/local/mysql/bin
#ln -s /usr/bin /usr/local/mysql/bin
##############################
Comments
Post a Comment