title: Yii2 db mysql connection throw ssh port 33060
body: <p>I have problem with connecting to mysql database throw ssh on port 33060,
  My conf : </p>
  
  <pre><code>return [
  'class' =&gt; 'yii\db\Connection',
  'dsn' =&gt; 'mysql:host=localhost;dbname=myDatabase',
  'emulatePrepare' =&gt;true,
  'username' =&gt; 'user',
  'password' =&gt; 'password',
  'charset' =&gt; 'utf8',
  ];
  </code></pre>
  
  <p>I have open ssh tunel when I try to connect, and i have an error: </p>
  
  <blockquote>
    <p>SQLSTATE[28000] [1045] Access denied for user 'user'@'localhost' (using password: YES)</p>
  </blockquote>
  
  <p>What am I doing wrong? Is possible in Yii2 to connect throws ssh? </p>
  
  <p>Thanks for answers!</p>