(vi) Linux CenOS6.5 installation MySQL

Source: Internet
Author: User
Tags mysql client

1, first download the MySQL client and server https://dev.mysql.com/downloads/mysql/

2. Installation command RPM-IVH mysql-server-5.1.73-1.glibc23.i386.rpm

You may encounter problems here: About 10 + errors

Libc.so.6 (glibc_2.0) is needed by mysql-server-5.1.73-1.glibc23.i386

Libgcc_s.so.1 is needed by mysql-server-5.1.73-1.glibc23.i386

Baidu has found some information for half a day

Here are just a few key words to be extracted:

In Red Hat Enterprise Linux 5, if a package is available for both the main and the compatibility architectures, both arch Itectures of the were installed by default. In Red Hat Enterprise Linux 6, only the primary architecture are installed by default. To avoid problems during the Backup-archive client and API installation on a 64-bit machine, being sure to install libstdc++ and compat-libstdc++.

To be honest, starting with red Hat Enterprise Linux 6, the default is to install only the packages required by the main schema, not the packages that are compatible with the architecture, that is, the 64-bit system installs only 64-bit packages by default. To avoid this problem, in a 64-bit system, install both 64-bit packages and 32-bit compatibility packs. CentOS and the relationship from Red Hat Enterprise Linux 6 Don't need me to say it, so I feel this answer is more reliable, try it quickly.

After installing yum install libstdc++.i686, I found only one error left.

Libgcc_s.so.1 is needed by mysql-server-5.1.73-1.glibc23.i386

Download this libgcc-4.4.7-18.el6.i686.rpm

Installing RPM-IVH libgcc-4.4.7-18.el6.i686.rpm

Then install RPM-IVH mysql-server-5.1.73-1.glibc23.i386.rpm

No problem, install successfully

3, install the client RPM-IVH mysql-client-5.1.73-1.glibc23.i386.rpm

Another problem libncursesw.so.5 is needed by mysql-client-5.1.73-1.glibc23.i386

Workaround: Yum List | grep ncurses

ncurses.x86_64 5.7-3.20090208.el6 @anaconda-centos-201311272149.x86_64/6.5
ncurses-base.x86_64 5.7-3.20090208.el6 @anaconda-centos-201311272149.x86_64/6.5
ncurses-libs.x86_64 5.7-3.20090208.el6 @anaconda-centos-201311272149.x86_64/6.5
ncurses-devel.i686 5.7-3.20090208.el6 C6-media
ncurses-devel.x86_64 5.7-3.20090208.el6 C6-media
ncurses-libs.i686 5.7-3.20090208.el6 C6-media
ncurses-static.x86_64 5.7-3.20090208.el6 C6-media
ncurses-term.x86_64 5.7-3.20090208.el6 C6-media

Installing the Yum install ncurses-libs.i686

After successful installation of client RPM-IVH mysql-client-5.1.73-1.glibc23.i386.rpm

(vi) Linux CenOS6.5 installation MySQL

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.