If I have MySQL running on a Linux box, is it faster to run queries if connected to localhost than if I connect to a domain which resolves to the same box? This is from Java
Using 127.0.0.1 is even faster than localhost as it directly points to the IP
127.0.0.1
localhost