LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mysql on redhat 9 problem (https://www.linuxquestions.org/questions/linux-software-2/mysql-on-redhat-9-problem-76556/)

new user 07-28-2003 06:21 AM

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

acid_kewpie 07-28-2003 06:28 AM

never just delete files.. that's a bit daft....

rpm -Uvh --force mysql-something.rpm

that will make it reinstall again.

dkaplowitz 07-28-2003 06:33 AM

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.

linuxuser9000 07-28-2003 07:05 AM

another way to reinstall
 
while rpm -Uvh --force will work
rpm -ivh --force will work as well

(the --force is key here)


All times are GMT -5. The time now is 05:56 AM.