[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: How can I uninstal MySQL binary on Raq3?



By mistake I downloaded the binary instead of the source file of MySQL. As a result
when I ran the ./configure command I got a message saying that I had no need
to configure and that Mysql was being installed for me and databases and so
on being setup.

Unfortunately this is not the directory I would like MySQL to be installed
in, and I want to configure the source with some different settings.

How do I un-install and start again?

Find the directory MySQL is installed in, and remove it. Most likely it's in /usr/local/mysql but you can do

	find / -iname "*mysql*" -print

to get a list of all files. If the entire file list looks safe to delete, you can do

	find / -iname "*mysql*" -exec rm {} \;
	
to delete them all. USE WITH CAUTION!! If you want to be prompted for each deletion, you can do

	find / -iname "*mysql*" -exec rm -i {} \;

Can I just remove the directory with all the files in it - or have files
been installed in other directories on my Raq3?

Most of what you care about - the binaries - will be in one place. There might be some man pages in the man directory, etc, but that shouldn't be a concern. The find command I listed should sweep your entire server, though...