LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-28-2003, 06:21 AM   #1
new user
LQ Newbie
 
Registered: Jul 2003
Location: pakistan
Distribution: redhat 9
Posts: 10

Rep: Reputation: 0
mysql on redhat 9 problem


hi all!
I m using redhat 9 and was trying to install mySQl on my system.
I somehow installed the mySQl package (rpm)but then it failed to start so i deleted the /usr/bin/mysql* files and tried to install it again,
when i run the rpm -i command it says that rpm is already installed while i cannot see the mysql commands (that i previously deleted from /usr/bin) and now i m stuck and dono wat to do.,
wat i would like to do is do a complete reinstall of mysql packages.
any ideas guys
 
Old 07-28-2003, 06:28 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
never just delete files.. that's a bit daft....

rpm -Uvh --force mysql-something.rpm

that will make it reinstall again.
 
Old 07-28-2003, 06:33 AM   #3
dkaplowitz
Member
 
Registered: Oct 2002
Location: Havertown PA
Distribution: Ubuntu/RHEL/Fedora
Posts: 253

Rep: Reputation: 31
Not sure if it'll work, but try rpm -U name_of_rpm. It might fail saying that ver. is already installed though. If that happens, you try rpm -e (erase) package_name. Also, there are some other options in the man page about repackaging and/or rebuilding that I've never tried, but might help you out.

Good luck.
 
Old 07-28-2003, 07:05 AM   #4
linuxuser9000
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
another way to reinstall

while rpm -Uvh --force will work
rpm -ivh --force will work as well

(the --force is key here)
 
  


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
Problem with MySql and Redhat 9 Airwaves Linux - Networking 1 07-12-2004 12:41 PM
Problem installing PHP with MySQL on RedHat 9 d2army Linux - Newbie 1 07-11-2004 05:58 PM
Problem with make test for DBD::MySQL on RedHat 9 dipshikha Linux - Software 0 04-18-2004 12:12 PM
Apache-MySQL Problem in Redhat 9 TankerKevo Red Hat 3 02-13-2004 11:51 AM
jdbc mysql Redhat 7.2 problem johnlee Linux - General 1 04-23-2002 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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