Friday, April 22, 2011

MySQL5 - Fast Installation - Ubuntu 10.04

Hi Folks!

This is the Fast Tutorials for Installing MySQL5 source code to Ubuntu

First Step :

You must download the SourceCode of MySQL5 from MySQL Website

Then, make sure all Developers Libraries installed in your Ubuntu
if not, follow these..

sudo apt-get install -y build-essential cmake libncurses5 libncurses5-dev


Second :


Add the following user and group,



sudo groupadd mysql
sudo useradd -g mysql mysql

the second command adds user mysql and assign user mysql to group mysql 


Third Steps :


go to any <directory> that you want to extract the MySQL Source Code

because we will extract MySQL**.tar.gz in <directory>

<directory> can be /usr/local/mysql, etc

Command to follow :
cd <directory>
tar -zxvf <path>/MySQL****.tar.gz
cmake .
make install

and You're DONE!

CMIIW