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 |
never just delete files.. that's a bit daft....
rpm -Uvh --force mysql-something.rpm that will make it reinstall again. |
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. |
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. |