mysqladmin passwort

Discussion in 'Installation/Configuration' started by gomanza, Sep 13, 2006.

  1. gomanza

    gomanza New Member

    Hi guys,

    I have the follwing problem or courious thing on my server.
    I was installing fedoracore 5 on my Server and during the ispconfig process (setting a mysql oasswrod) I got these messages:

    mysqladmin -u root password <mypassword>

    mysqladmin: connect to server at 'localhost' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'

    I already figured out that I already set a password. After that I was able to change the password with this command:
    mysqladmin -u root -p<mypassw> password <mynewpassw>
    So I know my password.

    Here is the thing. I am also using Webmin for configurating my server and there I can log to the mysql database with my password.
    But when I am typing in my terminal:
    mysqladmin -u root password <mypassword>
    I get the same Message as above.
    Does anybody know what's going on here?

    THX for your Help Gomanza
  2. gomanza

    gomanza New Member

    by the way change password for openssl

    By the way does somebody know how to change the openssl password I used on thats to easy
  3. gomanza

    gomanza New Member


    I reinstalled the mysqladmin shit and then I typed

    mysqladmin -h localhost -u root -p password
    the I got asked to type the password
  4. willebanks

    willebanks New Member

    Hi Gomanza,

    Not sure if this will work but try just using this command at the command line:
    mysql -u root password -h localhost -p<yourpassword>

    this works for me I believe it will work for you!

Share This Page