+ Responder ao Tópico



  1. #1
    Visitante

    Padrão senha mysql

    root@zeus/tmp# mysqladmin -u root password senha
    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: YES)'




    fui criar a senha e não funciona...

    detalhe que n aparece senha nenhuma como padrao

  2. #2

    Padrão senha mysql

    vc jah usou o mysql-install-db?

    []'s

    #MOVED TO BANCO DE DADOS :twisted: :twisted: :twisted:

  3. #3
    Visitante

    Padrão senha mysql

    quando uso da este erro.

    root@zeus#/usr/bin/mysql_install_db
    Installing all prepared tables
    Fill help tables

    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:
    /usr/bin/mysqladmin -u root password 'new-password'
    /usr/bin/mysqladmin -u root -h frigoking password 'new-password'
    See the manual for more instructions.

    NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
    the /usr/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 / ; /usr/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 /usr/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

  4. #4
    Visitante

    Padrão senha mysql

    su mysql -c /usr/bin/mysql_install_db

    mysql -u root -p
    senha


    dai funcionoou :good:

  5. #5

    Padrão senha mysql

    # su mysql
    mysql_install_db

    mysql -u root -p
    senha


    primeiro logue-se com mysql depois execute o comando e altere a senha!!!

    Tem um material no propio under explicando como fazer isso, escrito pelo seco veio aqui da uma olhada vai te ajudar !!!

    Ta na sessao mysql !!!

    Valeu