mysqladmin password setup for Lamp w/Fedora

Discussion in 'HOWTO-Related Questions' started by, Mar 26, 2007.

  1. New Member

    I am on the step.....

    mysqladmin -u root password yourrootsqlpassword
    mysqladmin -h -u root password yourrootsqlpassword

    The second line I changed to include my server name....

    mysqladmin -h -u root password yourrootsqlpassword

    And I tried changing yourrootsqlpassword to my root password on both lines but still I get errors....

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


    for the second line the curser just sits there blinking with out the directoy prompt and if I hit enter the cuser moves to the next line and nothing else....

    also the prompt says .....

    [[email protected] ~]#

    Can anyone help?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    maybe your mysql server has already a password. Are you able to connect to mysql with:

    mysql -u root -p

    and entering your root (shell) password?

Share This Page