Environment:
RHEL6 + MySQL-server-5.5.18-1.el6.i686 + MySQL-client-5.5.18-1.el6.i686
Problem:
Directly download the package and use RPM for installation. An error is displayed. Run rpm = pa | grep mysql * to check whether MYSQL has been installed. Uninstall the package decisively, but a dependency is displayed.
Solution:
1. Violence Law
Install it directly, but add -- force after the installation command to force installation. In fact, this is not recommended, which may cause unstable environment, but you can try it in a personal test.
2. Uninstall dependent Software
The method is to uninstall the dependent software first (my software is postfix, but other software dependencies are prompted when I try to uninstall it, so I gave up ~ When is the head? And this may also cause large-area problems)
3. Compile the source code for installation [recommended]
For security.