source: internet

image[3]

From Console, type command

 

1
yum install mysql-server

Select Yes (y).

image(1)[3]

 

image(2)[3]

Installation succesful

 

Next, start mysql service

1
service mysqld start

image(3)[3]

 

Change root ‘s password on Mysql server

1
/usr/bin/mysqladmin -u root password ‘new-password’

Or

1
/usr/bin/mysqladmin -u root –h ‘yourhost’ password ‘new-password’

(‘yourhost’ : host name, ex: localhost

image(4)[3]

Login mysql from console:

1
$ mysql --user=root -p

 

Input your password when it asked

 

Configure your MySQL service start with OS

image(5)[3]

 

6/2011 – cuongk6t

Advertisements