View Single Post
  #2  
Old 2nd August 2011, 14:06
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
Default

I don't know why is this happening. When I log in using this

mysql -u ispconfig -ppassword

Everything ok. But when I try to log in the way it shows in the error log, it fails:

mysql -h 127.0.0.1 -u ispconfig -ppassword

cat /etc/hosts
Code:
127.0.0.1       localhost.localdomain   localhost
82.120.120.120  server.xyz.com    server

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
what could I be doing wrong?
Reply With Quote