MySQL 5.5.13 is successfully installed in rpm in centos.

Source: Internet
Author: User

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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.