Installation of mysql on the linux machine

Many time I faced a problem to install mysql on the linux operating system,  So in this blog I mentioned  installation step of  mysql on  linux machine.

Get the mysql installation  from http://ftp.jaist.ac.jp/pub/mysql/ site

  1. wget http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.41-linux-i686-glibc23.tar.gz/.
  2. Unzip the mysql-5.1.41-linux-i686-glibc23.tar.gz file.
  3. Goto the mysql dir, and run the following commands

groupadd mysql
useradd -g mysql mysql
chown -R mysql .
chgrp -R mysql .
scripts/mysql_install_db  --user=mysql
chown -R root .
chown -R mysql data
bin/mysqld_safe --user=mysql &
bin/mysqladmin -u root password  'password'

Advertisement

About rajnautiyal
Experience in Design and Development of web projects in struts,hibernate,springs,ajax,Flex . Development .Experienced in the implementation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 70 other followers