MySQL installation

To install Mysql, as root type the command
Step 1:

yum  install mysql mysql-server

Step 2:

Start the mysqld and configure it to boot with computer start

/etc/init.d/mysqld start

Step 3:

Make it starting with the computer

chkconfig  mysqld on

Step 4:

Now create MySQL admin password

mysql -u root
mysql> SET PASSWORD FOR 'root'@'localhost' = PASSWORD('YOURPASSWORD'); 

You may also like...