View Single Post
Old 18th December 2007, 17:51
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts

Originally Posted by FXT
What purpose does the "" have, is it even necessary? I don't plan on having this machine reachable via DNS, just IP.
It's not necessary, but saves a DNS lookup if your system uses somewhere.

Originally Posted by FXT
According to the howto, both "hostname" and "hostname -f" should output "". Is that really correct? "hostname" only outputs "servebox" for me.
echo "" > /etc/hostname
/etc/init.d/ start
Now both hostname and hostname -f should show

Originally Posted by FXT
I'm running into a problem after installing mysql according to the howto. It might very well be related to the question above. It all works according to plan until i set the root password with:

mysqladmin -u root password newpasswordhere
The next step

mysqladmin -h -u root password newpasswordhere
gives the following error:

mysqladmin: connect to server at '' failed
error: 'Host '' is not allowed to connect to this MySQL server'
I'd like to proceed with the install, but i'm stuck here.

Any help is appreciated.
Follow the steps in chapter 8 on , beginning with As you've seen in the netstat output, MySQL is not only listening on localhost to fix the hostname in the MySQL database.

Originally Posted by FXT
(3) Just thought of another question. Why do we want mysqld to listen on other interfaces than localhost? Anything that accesses the DB should be on the machine, anyway.
If all applications that need the database are on the same host, then MySQL doesn't need to listen on all interfaces.
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!


nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote