Installing,Starting Service & Setting root password of My Sql

First set Yum repository of MySQL

then install it by using following command

yum -y install mysql-server mysql 
or
yum -y install mysql* 

Starting MySQL Server:-

Execute Following Command:-
chkconfig mysqld on
/etc/init.d/mysqld start or service mysqld restart

Setting Up root Password:-
mysqladmin -u root password NEWPASSWORD

Testing MySQL Connectivity 

mysql -u root -p.
Enjoy :)

Share This Post
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • LinkedIn
  • StumbleUpon
  • Twitter
  • email
  • Reddit
  • RSS
  • Technorati
  • Yahoo! Buzz

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

1 Comment »

 
 

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>