Kunaljain's Weblog

October 9, 2007

Installing Mysql on Linux

Filed under: MySql — Kunal Jain @ 09:27

Installing Mysql

# groupadd mysql
# useradd -g mysql mysql
# cd /usr/local
/usr/local# gunzip <PATH_TO_MYSQL-VERSION.tar.gz> | tar xvf -
/usr/local# ln -s FULL_PATH_TO_MYSQL-VERSION mysql
/usr/local# cd mysql
/usr/local/mysql# scripts/mysql_install_db --user=mysql
/usr/local/mysql# chown -R root
/usr/local/mysql# chown -R mysql data
/usr/local/mysql# chgrp -R mysql
#/usr/local/mysql/bin/mysqld_safe --user=mysql &

Note:- To Run MySql if shut down then


and press enter MySql starts working

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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 )

Google+ photo

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

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: