title: connect to the mysql database using phpseclib library
body: <p>I have successfully connect to the My VPS using phpscelib library.Now i want to connect to my existing database.Please help me for this ?</p>
  
  <pre><code>&lt;?php
  set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');
  
  include('Net/SSH2.php');
  
  
  $ssh = new Net_SSH2('192.ccc.ccc.ccc');
  if (!$ssh-&gt;login('ccc', 'cccc')) {
  exit('Login Failed');
  }
  
  echo $ssh-&gt;exec("I need to put MySql commands here");
  ?&gt;
  </code></pre>