title: Why is my MySQLi connection so slow?
body: <p>It takes for my local system about 1 second to establish a MySQLi connection. Code:</p>
  
  <pre><code>$db = new mysqli( 'localhost', 'root', 'pass', 'mydb' );
  </code></pre>
  
  <p>Why is it so slow? Is this normal? Can I improve it?</p>