LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 04: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, 05: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 05:37 AM.
 
  


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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:36 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