title: mysqli connect via IP address but not using host name
body: <p>I do test run with mysqli on remote host, Working fine with IP address but its not working with fully qualified domain name.
  DNS is correctly mapped,I can browse the page using browser and ping also success </p>
  
  <p>$mysqli = new mysqli("www.testdomain.com", "uname", "passwd", "database");</p>
  
  <p>Any suggestions ?
  mysql is running on Centos 6  </p>