MySQL on perfect setup CentOS 5.2

Discussion in 'Installation/Configuration' started by spuppy, Jul 25, 2008.

  1. spuppy

    spuppy New Member

    When I enter the command

    mysqladmin -h -u root password yourrootsqlpassword

    I get the error:

    mysqladmin: connect to server at '' failed
    error: 'Host '' is not allowed to connect to this MySQL server'

    I don't think this will stop my install, but I would like to make sure everything is working perfectly

  2. bolero

    bolero New Member

    localhost? Then simply do not use -h. You try to connect from non-localhost this way and there's likely an ACL to allow only [email protected]
  3. falko

    falko Super Moderator ISPConfig Developer

    IS your hostnme?
    What are the outputs of
    hostname -f
    netstat -tap | grep mysql
  4. spuppy

    spuppy New Member

    I was just following the instructions directly. They tell you to set your hostname to, so that's what I did. I guess we're supposed to set the hostname again later once everything is installed... Once I do that, I'll see if MySQL can connect.
  5. createch

    createch ISPConfig Developer ISPConfig Developer

    .... do you mean you also use "yourrootsqlpassword" instead of using the actual MySQL password in your system too ?
  6. falko

    falko Super Moderator ISPConfig Developer

    You should replace with your own hostname.
  7. spuppy

    spuppy New Member

    You should update the guide to reflect that. With guides like this, the reader will always follow it to the letter. If you say 'enter this information' people will do just that. So you need to make sure that if the user is entering their own information, that they know to do so.
  8. till

    till Super Moderator Staff Member ISPConfig Developer

    This is already described at the biginning of the howto :)

  9. falko

    falko Super Moderator ISPConfig Developer

    I think that the domain name "" implies that...

Share This Page