What is the mistake made ? mysql --user=thor --password=hammer -h127.0000000000000000000.00000000131.1 it works to login to local host similar to 127.0.0.1 mysql --user=thor --password=hammer -h127.0.0.1 Explanation. Coming Soon !!!