Simple MySQL binary installation
Today i was stuck around for sometime having default MYSQL installation to work on one of my linux boxes . Tried installing it using Yum but for some reason it didn’t start at all . As i was having an urgent need for the database for some time i decided to dig up around with Mysql binary distribution .I tried a few combinations to get it work the steps that i used for the installation are as listed below :
wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/from/http://ftp.jaist.ac.jp/pub/mysql/
gunzip mysql-5.1.41-linux-i686-glibc23.tar.gz
tar -xvf mysql-5.1.41-linux-i686-glibc23.tar
mv mysql-5.1.41-linux-i686-glibc23 mysql
cd mysql
./scripts/mysql_install_db --user=root
./bin/mysqld_safe --user=root &
./bin/mysqladmin -u root password 'mypassword'
In case you want to keep this installation for a bit longer , you can add the mysql installation bin directory to the “PATH” environment variable.
