title: Yii $connection = Yii::app()->db is slow
body: <p>I have a fresh "installation" of yii with a mysql database in the background.</p>
  
  <p>If i want to get the db connection from the app:</p>
  
  <pre><code>$connection = Yii::app()-&gt;db;
  </code></pre>
  
  <p>it needs about 1 second to this.</p>
  
  <p>Is there any trick to speed it up?</p>