Uninstall MySql on Centos linux

I have lost my MySQL^__^ so bad, I need to remove it and reinstall

1. Stop Mysql

/etc/init.d/mysql stop or service mysqld stop

2. Check Mysql package installed

temp]# rpm -qa | grep -i mysql

MySQL-devel-community-5.1.51-1.rhel5

MySQL-client-community-5.1.51-1.rhel5

MySQL-server-community-5.1.51-1.rhel5

3. Remove all mysql package

rpm -e

4. Check again go back to step 2.

To Reinstall

1. Proceed to the directory where your source package is saved

2. Enter command followed by the package

rpm -ivh

Cheers^__^

jepD

Advertisements

Mag-iwan ng Tugon

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 / Baguhin )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s