title: Remote MySQL connection timing out
body: <p>I have a PHP application that runs on my server along with its MySQL database, the database contains security keys. </p>
  
  <p>Site A connects to the applications MySQL database remotely to fetch the security key and works with no issues.
  Site B however returns a MySQL connection timed out error.</p>
  
  <p>So basically one of the external servers connects to the database with no issues, but the other times out. It's the exact same script on both servers and both of the external servers are listed in the cPanel. Both servers have the same mysql connect timeout value set in php.ini of 60 seconds, Site B returns the time out error after around 5 seconds.</p>
  
  <p>Any idea what could be causing this?</p>