I am testing an open source application.

When at the setup stage after installing mysql, php all the good stuffs, I have to specify where the mysql server is. Here is the problem, if I put in "localhost" as the mysql is installed on the same box, it would work perfectly fine. If I put the actual hostname then it would fail.

pinging the hostname actually has no problem. The box is using a working dns server.

Did anyone experience any similar name resolving issue while ping, nslookup everything is workig but an application isn't able to see its hostname?

5 Years
Discussion Span
Last Post by rubberman

Yes, I tried fully qualified. This is really puzzling me. This vm is in the lab, environment is generally not as stable as our production network.

It doesn't look like we have the same problem for production servers. I just don't like mystery. Weird = /

firewall are both off
dns server looks fine
both server can ping each other by hostname
both server use the same dns server
i ensured that they both use dns rather than win
what else to troubleshoot???

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.