title: Connecting Piwik front-end (App server) to remote MySQL server with SSL support
body: <p>I am trying to install Piwik on a VPS and connect it to a MySQL database on another (remote) VPS.</p>
  
  <p>The first problem: I don't actually know how to connect Piwik to remote MySql server with self-signed SSL.</p>
  
  <p>So, I've tried to make the user without required SSL connection to try to get Piwik installation to working. I've got the following error: <strong>SQLSTATE[28000] [1045] Access denied for user '****'@'******' (using password: YES)</strong></p>
  
  <p>(Screenshot of the error: <a href="http://bit.ly/1FhrnHY" rel="nofollow">http://bit.ly/1FhrnHY</a>)</p>
  
  <p>User have all appropriate privileges to connect successfully, but it doesn't connect.</p>
  
  <ol>
  <li>I've successfully tried to connect via command line MySql client
  with SSL support.</li>
  <li>MySql with SSL has been configured properly (and
  tried from command line).</li>
  </ol>
  
  <p>My questions are:</p>
  
  <ol>
  <li>How to resolve that problem (an error) to get connected to remote MySQL database for using with my Piwik installation?</li>
  <li>How to connect to the remote database with self-signed SSL support (from Piwik)?</li>
  </ol>