title: Mysql connect error : Unknown MySQL server host and Mysql connect error no 2005
body: <p>when I connect via <code>mysql drive</code></p>
  
  <p><code>mysqli_connect('localhost:9306')</code>- successfully returns Resource <code>id #21</code> </p>
  
  <p>but when I use <code>'MySQLi' driver</code> it returns following error message:</p>
  
  <pre><code> Unknown MySQL server host 'localhost:9306' (3) and Mysqli Error No as 2005
  </code></pre>