June 18th, 2000, 04:46 AM
How do I remove mySQL? Shall I delete alll mySQL files? How? Please help!!
June 19th, 2000, 01:33 AM
In UNIX env.
1.as root kill processes
2.Delete a link to MySQL's home directory (it may be /usr/local/mysql).
3.Remove MySQL's home directory thru a command# rm -r 'MySQL's home directory'.
4. Check a file /etc/my.cnf. Delete If it exists
5. Check /etc/rc* scripts for entrance of record 'safe_mysqld'. Delete string with this record.
June 19th, 2000, 02:42 AM
Could you give some more details for a BSD UNIX variation!
June 19th, 2000, 04:02 AM
>>Could you give some more details for a BSD UNIX variation!
Did you install thru "pre-compiled package" or "port" or compiled from source?
Let say it's mysql-server-3.22.32, go to http://www.freebsd.org/handbook/ports-using.html and read "4.2.2. Removing Installed Ports".
If it doesn't deinstall cleanly, go to /var/db/pkg/mysql-server-3.22.32/ and read the +CONTENTS file and remove the unremoved files/directories.
If you compiled from source, there should be a temp file about the target directories that are being installed to. Then follow kudinov's instruction and remove them manually.