#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    How do I remove mySQL? Shall I delete alll mySQL files? How? Please help!!
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    19
    Rep Power
    0
    In UNIX env.
    1.as root kill processes
    -mysqld
    -safe_mysqld
    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.

  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    2
    Rep Power
    0
    Could you give some more details for a BSD UNIX variation!
  6. #4
  7. No Profile Picture
    freebsd
    Guest
    Devshed Newbie (0 - 499 posts)
    >>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.

Similar Threads

  1. Can't connect to MySQL server remotely
    By bper in forum MySQL Help
    Replies: 2
    Last Post: October 2nd, 2003, 02:09 PM
  2. Errcode:13 . How to solve it on MySQL + Windows 2000
    By hankycheng in forum MySQL Help
    Replies: 28
    Last Post: August 3rd, 2003, 10:05 AM
  3. Uninstalling MySQL
    By wannabe in forum MySQL Help
    Replies: 4
    Last Post: July 20th, 2002, 02:05 PM
  4. ODBC mySQL Connection Problem
    By kjedwards in forum MySQL Help
    Replies: 1
    Last Post: October 7th, 2001, 03:50 PM

IMN logo majestic logo threadwatch logo seochat tools logo