LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-09-2001, 01:51 PM   #1
bobthebat
Member
 
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82

Rep: Reputation: 15
removing mysql


I have somehow very badly messed up my intallation of mysql and need to reinstall. I read the manual looking for unintall instructions, but found none. Does anyone know what directories to delete to completely remove it?
 
Old 09-10-2001, 08:02 PM   #2
egaffur
LQ Newbie
 
Registered: Sep 2001
Location: Pittsburgh, PA
Distribution: Mandrake, Red Hat
Posts: 2

Rep: Reputation: 0
Removing MySQL

First check whether rpm installed MySQL by typing the command "rpm -qil mysql". If MySQL is installed by rpm then you may remove the package using the "rpm --remove mysql" command I believe. Check the man pages.

If MySQL wasn't installed using rpm then you may delete it (providing you have root privileges) using the recursive delete command. However, make sure that the MySQL server isn't running and killing it if it is.

# ps -ef | grep mysql
# kill <process ID of mysql server>
# cd /usr/local
# /bin/rm -fr ./mysql

The example assumes that you have installed MySQL in /usr/local/mysql...
 
Old 09-10-2001, 10:42 PM   #3
bobthebat
Member
 
Registered: Apr 2001
Location: Portland, OR
Distribution: Slackware 8
Posts: 82

Original Poster
Rep: Reputation: 15
Thanks for the help, now all is well
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
Removing double entrys from mysql Teukka Programming 1 11-25-2005 06:41 AM
Removing MySQL 3.23 Verbal Kint Linux - Software 2 05-30-2005 04:19 AM
removing mysql issey Linux - Newbie 1 03-27-2005 12:58 AM
Removing mysql squirellplaying Linux - Newbie 6 07-13-2004 01:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration