title: Connecting to Sphinx using PDO
body: <p>I am trying to connect to Sphinx with PDO, and it isn't working, I am getting this error:<br>
  <code>SQLSTATE[HY000] [2054] Server sent charset unknown to the client. Please, report to the developers</code></p>
  
  <p>Here is how I am connecting:</p>
  
  <pre><code>$pdo = new PDO("mysql:host=xxxxxx;port=9306;", "", "");
  </code></pre>
  
  <p>I used to be doing it with normal mysql and that used to work, but now it isn't working for some reason.</p>
  
  <p>This used to work (now it doesn't and it doesn't even give an error):</p>
  
  <pre><code>$sql = mysql_connect("xxxxxx:9306", "", "");
  </code></pre>