LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-05-2003, 05:50 AM   #1
forgad
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
Help in uninstalling mysql


Hi,
I make a mistake in deleting the mysql share directory in linux Redhat 8.0.
I want to uninstall the mysql by type rpm -e MySQL-server-4.0.15-0 and the following errors appear:

error reading information on service mysql: No such file or directory
error: %preun(MySQL-server-4.0.15-0) scriptlet failed, exit status 1

And I wanted to install Mysql 3.23 and it has the conflict in the /usr/share/mysql directory.

I do a rpm -qa and the MySQL-server-4.0.15-0 is shown. Can someone advise how can I uninstall the Mysql rpm from the system?

Very new to linux and mysql.

Thanks

Gad
 
Old 11-05-2003, 06:31 AM   #2
Starchild
Member
 
Registered: Sep 2003
Location: At a tea party with Alice in Wonderland.
Distribution: Fedora 7
Posts: 65

Rep: Reputation: 15
If you have the MySQL-server-4.0.15-0 rpm, you could do:
rpm -Fvh MySQL-server-4.0.15-0.i386.rpm
(Or whatever it's called)
This, according to the man pages, etc, will freshen the install, ie, adding files part of the package the doesn't exist on the system. Due to, for example, accidental deletion of some of the files.

Then try to remove the package as normal.

Last edited by Starchild; 11-05-2003 at 06:37 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uninstalling MySQL tobycatlin Linux - Software 1 05-20-2005 05:16 AM
Uninstalling MySQL - Catch22 rickh Linux - Software 1 03-15-2005 05:15 PM
Uninstalling/Upgrading MySQL jabird Red Hat 4 10-08-2004 03:27 PM
Uninstalling MySQL (not rpm) ridertech Linux - Software 3 05-12-2004 12:43 AM
uninstalling mysql banelion Linux - General 6 11-23-2002 02:20 PM


All times are GMT -5. The time now is 02:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration