1. The installation steps are as follows:
1. Uninstall the original version 5.0. A dependency error is reported during normal uninstallation. Use rpm-e -- nodeps <package name> to solve the problem. In addition, we need to unmount the related conector and remember what it was.
2, first install MySQL-server-5.5.13-1.rhel5.i386.rpm. This has been a long time. In fact, it may have been installed successfully before, but I have been using rpm-Q MySQL to determine whether the installation was successful, and I thought this package was not installed. Later, the correct results were obtained by querying the rpm-Q MySQL-server-5.5.13-1.rhel5. In short, various errors were reported, and n methods were not successful.
Later,Delete all files in the/var/lib/MySQL directory., With rpm-IVH MySQL-server-5.5.13-1.rhel5.i386.rpm was installed successfully.
The reason is unknown. There are database table files in the original directory, but this will not lead to installation failure. Can't you import the old database?
Next, MySQL-client-5.5.13-1.rhel5.i386.rpm and other packages smoothly installed.
Ii. Start the service:
1. Choose setup> System Service> MySQL. Enable the service with the system.
2. Serivce MySQL start. Note that MySQL is not mysqld.