+ Responder ao Tópico



  1. #1
    guilhermebsd
    Visitante

    Padrão Problemas no MYSQL

    Galera estou com uma baita problema no mysql ... instalei ele agora no mandrake 9 e esta dando alguns problemas..

    $ mysql_install_db
    WARNING: The host 'server' could not be looked up with resolveip.
    This probably means that your libc libraries are not 100 % compatible
    with this binary MySQL version. The MySQL daemon, mysqld, should work
    normally with the exception that host name resolving will not work.
    This means that you should use IP addresses instead of hostnames
    when specifying MySQL privileges !
    Installing all prepared tables
    060727 13:39:39 Warning: Asked for 196608 thread stack, but got 126976
    /usr/sbin/mysqld: Can't read dir of '/root/tmp/' (Errcode: 13)
    060727 13:39:39 /usr/sbin/mysqld: Shutdown Complete
    Como faco para arrumar isso ?

    Um abraco

  2. #2

    Padrão Re: Problemas no MYSQL

    Atualize o Glibc ou use um mysql mais antigo.

  3. #3

    Padrão Re: Problemas no MYSQL

    Se você compilou o MySQL, tente instalá-lo à partir dos pacotes .rpm do Mandrake. Este bug deriva-se ao fato de que você está tentando instalar o servidor com uma versão da glibc muito antiga. Existem outros builds do MySQL em seu site oficial. Check it out.

  4. #4
    guilhermebsd
    Visitante

    Padrão Re: Problemas no MYSQL

    Pessoal reinstalaei e deu esse erro.
    file /usr/bin/isamchk from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0

    O que fazer???

  5. #5

    Padrão Re: Problemas no MYSQL

    Ele tah dando conflito com outro mysql instalado. Remova o outro completamente antes.

  6. #6
    guilhermebsd
    Visitante

    Padrão Re: Problemas no MYSQL

    mas ai que esta ... como remover por completo... ops:

    Grato

  7. #7

    Padrão Re: Problemas no MYSQL

    Citação Postado originalmente por guilhermebsd
    mas ai que esta ... como remover por completo... ops:

    Grato
    Depois de remover com o rpm -u mysql* , faça um find / -name mysql* e remova todas as entradas.

  8. #8
    guilhermebsd
    Visitante

    Padrão Re: Problemas no MYSQL

    [root@root lib]# rpm -e mysql*
    erro: o pacote mysql* não está instalado

    [root@root lib]# rpm -u mysql*
    -u: opção desconhecida

    e agora??? rsrsr... estou mais perdido que cego em tiroteio...rsrsrs


  9. #9
    guilhermebsd
    Visitante

    Padrão Re: Problemas no MYSQL

    Ah esqueci de postas os arquivos que ele encontrou ...apago todos???

    [root@root lib]# find / -name mysql*
    /etc/rc.d/init.d/mysql
    /etc/logrotate.d/mysql
    /etc/webmin/mysql
    /home/samba/mysql linux
    /home/samba/mysql linux/mysql-administrator-1.0.22a-1.rh9.i386.rpm
    /var/lock/subsys/mysql
    /root/tmp/mysql-administrator-1.0.22a-1.rh9.i386.rpm
    /usr/share/man/man1/mysql_fix_privilege_tables.1.gz
    /usr/share/man/man1/mysqld_multi.1.gz
    /usr/share/man/man1/mysql_zap.1.gz
    /usr/share/man/man1/mysqld.1.gz
    /usr/share/man/man1/mysqld_safe.1.gz
    /usr/share/man/man1/mysql.1.gz
    /usr/share/man/man1/mysqlaccess.1.gz
    /usr/share/man/man1/mysqladmin.1.gz
    /usr/share/man/man1/mysqldump.1.gz
    /usr/share/man/man1/mysqlshow.1.gz
    /usr/share/info/mysql.info.gz
    /usr/share/vim/syntax/mysql.vim
    /usr/share/apps/quanta/tags/php/mysql.tag
    /usr/share/webmin/caldera/mysql
    /usr/share/webmin/mandrake/mysql
    /usr/share/webmin/mscstyle3/mysql
    /usr/share/webmin/mysql
    /usr/share/webmin/mysql/images/mysql.gif
    /usr/share/webmin/mysql/mysql-lib.pl
    /usr/share/webmin/status/mysql-monitor.pl
    /usr/share/webmin/status/services/mysql.serv
    /usr/share/mysql
    /usr/share/mysql/mysql-4.0.25.spec
    /usr/share/mysql/mysql-log-rotate
    /usr/share/mysql/mysql.server
    /usr/share/mysql-test
    /usr/share/mysql-test/r/mysqlbinlog.result
    /usr/share/mysql-test/r/mysqldump.result
    /usr/share/mysql-test/mysql-test-run
    /usr/share/mysql-test/t/mysqlbinlog.test
    /usr/share/mysql-test/t/mysqlbinlog-master.opt
    /usr/share/mysql-test/t/mysqldump.test
    /usr/share/sql-bench/Comments/mysql.benchmark
    /usr/share/sql-bench/limits/mysql-3.22.cfg
    /usr/share/sql-bench/limits/mysql-3.23.cfg
    /usr/share/sql-bench/limits/mysql.cfg
    /usr/share/mysql-gui
    /usr/bin/mysql_explain_log
    /usr/bin/mysqld_multi
    /usr/bin/mysqlbug
    /usr/bin/mysql_convert_table_format
    /usr/bin/mysql_fix_extensions
    /usr/bin/mysql_fix_privilege_tables
    /usr/bin/mysql_install_db
    /usr/bin/mysql_secure_installation
    /usr/bin/mysql_setpermission
    /usr/bin/mysql_zap
    /usr/bin/mysqlhotcopy
    /usr/bin/mysqld_safe
    /usr/bin/mysqltest
    /usr/bin/mysql_find_rows
    /usr/bin/mysql
    /usr/bin/mysqlmanager-pwgen
    /usr/bin/mysql_tableinfo
    /usr/bin/mysql_waitpid
    /usr/bin/mysqlaccess
    /usr/bin/mysqladmin
    /usr/bin/mysqlbinlog
    /usr/bin/mysqlcheck
    /usr/bin/mysqldump
    /usr/bin/mysqldumpslow
    /usr/bin/mysqlimport
    /usr/bin/mysqlshow
    /usr/bin/mysqlmanager
    /usr/bin/mysqlmanagerc
    /usr/bin/mysql_config
    /usr/lib/mysql
    /usr/lib/mysql/mysqld.sym
    /usr/sbin/mysqld
    /usr/include/mysql
    /usr/include/mysql/mysql.h
    /usr/include/mysql/mysql_com.h
    /usr/include/mysql/mysql_embed.h
    /usr/include/mysql/mysql_version.h
    /usr/include/mysql/mysqld_error.h

  10. #10

    Padrão Re: Problemas no MYSQL

    Nem todos.

    Apague os seguintes

    Pastas:

    /usr/lib/mysql/
    /usr/share/mysql/
    /usr/share/mysql-test
    /usr/include/mysql

    Arquivos:

    /usr/sbin/mysqld
    /usr/bin/mysql_explain_log
    /usr/bin/mysqld_multi
    /usr/bin/mysqlbug
    /usr/bin/mysql_convert_table_format
    /usr/bin/mysql_fix_extensions
    /usr/bin/mysql_fix_privilege_tables
    /usr/bin/mysql_install_db
    /usr/bin/mysql_secure_installation
    /usr/bin/mysql_setpermission
    /usr/bin/mysql_zap
    /usr/bin/mysqlhotcopy
    /usr/bin/mysqld_safe
    /usr/bin/mysqltest
    /usr/bin/mysql_find_rows
    /usr/bin/mysql
    /usr/bin/mysqlmanager-pwgen
    /usr/bin/mysql_tableinfo
    /usr/bin/mysql_waitpid
    /usr/bin/mysqlaccess
    /usr/bin/mysqladmin
    /usr/bin/mysqlbinlog
    /usr/bin/mysqlcheck
    /usr/bin/mysqldump
    /usr/bin/mysqldumpslow
    /usr/bin/mysqlimport
    /usr/bin/mysqlshow
    /usr/bin/mysqlmanager
    /usr/bin/mysqlmanagerc
    /usr/bin/mysql_config
    /etc/rc.d/init.d/mysql
    /etc/logrotate.d/mysql

    O resto não tem nada de importante.

  11. #11
    guilhermebsd
    Visitante

    Padrão Re: Problemas no MYSQL

    Cara apaguei todos os arquivos... e continua... coloquei o arquivo completo.
    o que fazer???? :? :? :? :? :? :? :-o :-o :-o
    file /usr/bin/isamchk from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/isamlog from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/my_print_defaults from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/myisamchk from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/myisamlog from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/myisampack from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysql_fix_privilege_tables from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysql_install_db from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysql_secure_installation from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysqlbug from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysqld_multi from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysqld_safe from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysqlhotcopy from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysqltest from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/pack_isam from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/perror from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/replace from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/resolve_stack_dump from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/resolveip from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/Description.plist from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/Info.plist from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/MySQL-shared-compat.spec from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/StartupParameters.plist from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/charsets/win1251.conf from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/english/errmsg.sys from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/english/errmsg.txt from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/make_binary_distribution from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/my-huge.cnf from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/my-large.cnf from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/my-medium.cnf from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/my-small.cnf from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/mysql.server from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/portuguese/errmsg.sys from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/share/mysql/portuguese/errmsg.txt from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/bin/mysql_waitpid from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-client-4.0.25-0
    file /usr/bin/mysqlmanager from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-bench-4.0.25-0
    file /usr/bin/mysqlmanager-pwgen from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-bench-4.0.25-0
    file /usr/bin/mysqlmanagerc from install of MySQL-common-4.0.15-1.2.92mdk conflicts with file from package MySQL-bench-4.0.25-0
    file /etc/rc.d/init.d/mysql from install of MySQL-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/lib/mysql/mysqld.sym from install of MySQL-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0
    file /usr/sbin/mysqld from install of MySQL-4.0.15-1.2.92mdk conflicts with file from package MySQL-server-4.0.25-0

  12. #12

    Padrão Re: Problemas no MYSQL

    Remove esses arquivos que ele disse que tah com conflito. Vc não removeu os arquivos do /usr/bin/

    faça rm /usr/bin/mysql*

    Dae depois remova os outros arquivos que ele fala.