title: Use proxy to connect to a mysql db through PDO
body: <p>I'm trying to connect to a remote mysql database with PHP PDO (php version 5.3)
  and I need it to go through a proxy. </p>
  
  <p>My connection looks like this right now.</p>
  
  <pre><code>$ldb = new PDO("mysql:dbname=users;host=my.remote.host.com", username, password);
  </code></pre>
  
  <p>I'dd need it to go through a proxy, like <a href="http://proxy.mydomain.com:port" rel="nofollow">http://proxy.mydomain.com:port</a></p>
  
  <p>I've searched through the PDO Doc and can't seem to find anything on the subject. Is there a way to do it, or am I way off?</p>
  
  <p>Thanks</p>