+ Responder ao Tópico



  1. #1
    rober
    Visitante

    Padrão mysql ended - naum instala nem com reza

    Pessoal.......to desesperadamente tentando instalar o mysql a uma semana, já tentei pkg e copilação normal, aqui no topíco vou só expor os erros na coilação normal

    baixei o tar.gz
    Extrai seu conteudo
    abri o console e dei ./configure , ele começo a configuração mas logo parau e exibiu a msg "mysql ended"

    qnd preciono qualker tecla ele volta ao console
    isso já aconteceu varias vezes em varias tentativas de instalação,

    -Uso slackware 9.1

    Se tiver algum que possa me ajuda fico muito grato

    Abraços

  2. #2
    Administrador Avatar de Fernando
    Ingresso
    Jul 2001
    Localização
    Campinas Area
    Posts
    4.996
    Posts de Blog
    4

    Padrão mysql ended - naum instala nem com reza

    O que diz o config.log?

  3. #3
    rober
    Visitante

    Padrão Essa é msg que ele gera

    NOTE: This is a MySQL binary distribution. It's ready to run, you don't
    need to configure it!

    To help you a bit, I am now going to create the needed MySQL databases
    and start the MySQL server for you. If you run into any trouble, please
    consult the MySQL manual, that you can find in the Docs directory.

    Installing all prepared tables
    040429 0:11:07 ./bin/mysqld: Shutdown Complete


    To start mysqld at boot time you have to copy support-files/mysql.server
    to the right place for your system

    PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
    To do so, start the server, then issue the following commands:
    ./bin/mysqladmin -u root password 'new-password'
    ./bin/mysqladmin -u root -h darkstar password 'new-password'
    See the manual for more instructions.

    NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
    the ./bin/mysql_fix_privilege_tables. Otherwise you will not be
    able to use the new GRANT command!

    You can start the MySQL daemon with:
    cd . ; ./bin/mysqld_safe &

    You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
    cd sql-bench ; perl run-all-tests

    Please report any problems with the ./bin/mysqlbug script!

    The latest information about MySQL is available on the web at
    http://www.mysql.com
    Support MySQL by buying support/licenses at https://order.mysql.com

    Starting the mysqld server. You can test that it is up and running
    with the command:
    ./bin/mysqladmin version
    root@darkstar:/rober/extract/mysql-4.0.18# Starting mysqld daemon with databases from /rober/extract/mysql-4.0.18/data
    040429 00:11:07 mysqld ended

  4. #4
    wrochal
    Visitante

    Padrão Solução

    Caro,



    Tente iniciar o mysql:

    #safe_mysqld &

    Se dar um erro, é "normal" e necessário para gerar o sock. Agora devemos fazer o seguinte:

    #chown -R mysql.mysql /var/lib/mysql


    Fonte: http://www.linuxit.com.br/modules.ph...icle&artid=243

    falou,

  5. #5
    rober
    Visitante

    Padrão mysql ended - naum instala nem com reza

    O problema é que le naum instala..no começo da copilação ela da mysql ended e acaba por ai.ele naum termina a instalação

  6. #6
    rober
    Visitante

    Padrão mysql ended - naum instala nem com reza

    Galera, eu resolvi o problema instalando o pkg

    ai vai pra quem tah com o problema de "ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)"

    Solução

    - > no console :
    - > mysql_install_db
    - > chown -R mysql.mysql /var/lib/mysql (Nos pkg normalmente é ai onde ele fica)
    - > mysqld_safe &
    - > mysqladmin -u root password senha_aqui
    - > mysql - u root - p

    pra mim deu certinho ,
    -

  7. #7

    Padrão mysql ended - naum instala nem com reza

    jah tentou rodar o mysql_install_db antes de iniciar o mysql?
    ooops agora q vi que jah tinha sido resolvido