News : LinuxSolved.com Linux Help Community Forum..
1. # yum -y install mysql-server (This will install the mysql binaries)2. # chkconfig mysqld on (Adds mysqld to the startup services)3. # service mysqld start (Starts the MySQL server)4. # mysql -u root@localhost (Brings up the MySQL console)5. #mysql> set password for root@localhost=password(’password’); (Sets the root password to “password”)6. #mysql> reload privileges; (Reloads the grant tables)
1. # mysql -u root@localhost (Brings up the MySQL console)2. #mysql> use mysql (Use the mysql database)3. #mysql> update user -> set password=password(”password”) (Sets the root password to “password”) -> where user=”root”;4. # reload privileges; (Reloads the grant tables)