Red Hat 6.1にMySqlをインストールするには?

Red Hat 6.1にMySqlをインストールするには?

MySQL-server-5.6.12-1.el6.i686.rpmRed Hat Enterprise 6.1サーバーにインストールしようとしています。

次のエラーが発生します。

rpm -Uvh MySQL-server-5.6.12-1.el6.i686.rpm
error: Failed dependencies:
        libaio.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.1.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.10) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.2.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.3.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.7) is needed by MySQL-server-5.6.12-1.el6.i686
        libc.so.6(GLIBC_2.8) is needed by MySQL-server-5.6.12-1.el6.i686
        libcrypt.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libcrypt.so.1(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2 is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libdl.so.2(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1(GCC_3.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libgcc_s.so.1(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libm.so.6(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0 is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.0) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.1) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libpthread.so.0(GLIBC_2.3.2) is needed by MySQL-server-5.6.12-1.el6.i686
        librt.so.1 is needed by MySQL-server-5.6.12-1.el6.i686
        librt.so.1(GLIBC_2.2) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6 is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(CXXABI_1.3) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(GLIBCXX_3.4) is needed by MySQL-server-5.6.12-1.el6.i686
        libstdc++.so.6(GLIBCXX_3.4.11) is needed by MySQL-server-5.6.12-1.el6.i686

これが私がインストールする必要があるプログラムであることに気づきました。私の質問は、インストールするためにこれらのプログラムをどこでダウンロードする必要がありますか、それとも古いバージョンのMySQLを見つける必要がありますか?

編集する:最終分析では、実際にはシステムアーキテクチャの問題です。 Linuxにコンポーネントをインストールするときは、常にシステムアーキテクチャを念頭に置いてください。私はi686 rpmを使用していましたが、当時はx86_x64システムでした。

ベストアンサー1

YUM表現を使用して、次のようにMySQLバージョンを更新できます。http://www.webtatic.com/packages/mysql55/

おすすめ記事