Install Mysql Server on Centos 5 and Setup Root Password

Dolphin-cartoon

Oops, needed mysql server installed in order to install Zenoss on a centos 5 vm.

First lets do the following…

#yum install php-mysql mysql mysql-server

#/sbin/chkconfig mysqld on
#/etc/init.d/mysqld start

To set the password run the following

#mysqladmin -u root password NEWPASSWORD

If you need to change it, use the command below

#mysqladmin -u root -p’oldpassword’ password newpass

Advertisements

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.