Setting up mysql password fails

Discussion in 'HOWTO-Related Questions' started by rh-penguin, Dec 4, 2006.

  1. rh-penguin

    rh-penguin New Member

    Hi,

    I've bin following: The Perfect Setup: Fedora Core 4 guide. However, im stuck on page 4; its related to MySQL.

    When i try to run the following command:
    mysqladmin -h server1.spenguin.com -u root password myMySQLpassword

    I get the following error:
    mysqladmin: connect to server at 'server1.spenguin.com' failed
    error: 'Access denied for user 'root'@'localhost' (using password: NO)'


    What can i do to fix this?

    Thanks Alot!
     
  2. cybere

    cybere New Member

    Same issue...

    Greetings,

    I am having a similar issue to the above post, however I am using FC5,and have used root, and localhost as my paramaters.

    I have checked passwords are exact, I have checked mysqld is up and running, Firewalls and SELinux are both disabled, but i receive the same errors.

    I used the FC5 how to on a previous installation with zero problems, but this time around, I have missed something, or Im just going crazy.

    I am able to issue the first command with no probs:
    mysqladmin -u root password 'newpswd'

    then:
    mysqladmin -h my.server.com -u root password 'newpswd'

    generates an error.

    Also tried
    mysqladmin -h localhost -u root password 'newpswd'

    Any assistance would be appreciated.
     
  3. falko

    falko Super Moderator ISPConfig Developer

Share This Page