Como instalar o MySql no Red Hat 6.1?

0

Estou tentando instalar o MySQL-server-5.6.12-1.el6.i686.rpm em um servidor Red Hat Enterprise 6.1.

Eu recebo o seguinte erro:

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

Eu reconheço que esses são os programas que preciso instalar. Minha pergunta é onde devo procurar para baixar esses programas para instalar ou devo apenas procurar por uma versão mais antiga do MySQL?

EDIT : No final, foi na verdade um problema de arquitetura do sistema. A arquitetura do sistema deve ser sempre lembrada ao instalar componentes no linux. Eu estava usando um i686 rpm quando era um sistema x86_x64

    
por Quinma 08.06.2013 / 00:48

2 respostas

1

Você pode usar o YUM rep que atualizou a versão do MySQL, como aqui: link

    
por 09.06.2013 / 09:37
1

É altamente recomendável usar os pacotes que acompanham sua distribuição. O RHEL 6.1 vem com 5.1.52, e você deve usar isso.

Na verdade - você deve pensar em atualizar a máquina para um nível posterior.

    
por 08.06.2013 / 01:09