0

I am interested, on some hosting(although they are paid hostings, and even the domain.com DNS nameservers are pointed to that hosting), you have to insert: mysql.domain.com (instead of: localhost) , and i was afraid, that connecting to mysql.domain.com will be much slower... Am I right?

p.s.

1

1 Answer 1

1

Usually you only have to use mysql.domain.com if connecting to a remote database. If that is what you are doing, then yes. It will be slower than a locally hosted database. Even if the domain resolves to the local server localhost should resolve quicker as it uses the loopback interface which bypasses network hardware.

Not the answer you're looking for? Browse other questions tagged or ask your own question.