PDA

View Full Version : debian 4 perfect setup error: Host not allowed...


sageman
22nd September 2008, 16:39
Hi there,
on a Hetzner root server using their minimal Debian Etch setup(64bit), I am following "The Perfect Setup - Debian Etch (Debian 4.0)" starting on page 3 to the t - but have now run into a problem I can't seem to solve.

Page 4 - 10. MySQL: when running

mysqladmin -h server1.example.com -u root password yourrootsqlpassword

I get error: 'Host 'server1.example.com' is not allowed to connect to this MySQL server'

The first comand to create a root password goes through without trouble, server1.example.com is in hosts

Thanks, Ritch

till
23rd September 2008, 00:00
Please replace "server1.example.com" with the hostname of your server.

sageman
23rd September 2008, 00:23
It was done that way.
I changed the error message before posting here to stick to your example.
The actual error does name the server right, of course it also shows in hosts and when caling hostname -f...

Your not that far off though: I did paste the first line wrong, by not changing the root password. But I realized this immediately and so I used
"mysql -u root -pmypassword mysql" to fix it. I can log in mysql.

till
23rd September 2008, 00:30
Ok, then you can just leave out the command and continue with the next step of the setup.

sageman
23rd September 2008, 00:32
OK - I'll try that and report back ;)

sageman
23rd September 2008, 12:27
thanks - it went through ok...
Everything seems to work, ispconfig is running ;)