Friday, November 14, 2008

UNINSTALL AND INSTALL MYSQL ON FEDORA 9

Uninstall MySQL on fedora

yum remove mysql

Install MySQL on fedora

1. Use yum to install both mysql command line tool and the server:yum -y install mysql mysql-server
2. Enable the MySQL service:/sbin/chkconfig mysqld on
3. Start the MySQL server:/sbin/service mysqld start
4. Set the MySQL root password:mysqladmin -u root password 'new-password'The quotes around the new password are required.