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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s