Sometimes it becomes mor cumbersome to uninstall something rather installing. MySQL is no different.
If you install it from rpm then follow these commands to uninstall.
# rpm -qa | grep -i mysql
mysql-libs-5.0.45-4.fc8
php-mysql-5.2.4-3
# rpm -e php-mysql-5.2.4-3
# rpm -e mysql-libs-5.0.45-4.fc8
In case of an installation from source distrobution, you can unistall mysql by going to that extracted installion directory (the directory you used to build/install mysql) and type in the following.
shell> make -n uninstall
then type
shell> make distclean
Following this, go delete the directory that it was installed to (i.e. /usr/local/mysql )
Thats all to uninstall MySQL from your PC.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment