title: Node Sequelize cannot connect to MySQL SSL
body: <p>I'm trying to connect my node app to my remote MySQL server and I am getting the following error:</p>
  
  <p>Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'remoteUser'@'mysqlIpAddress' (using password: YES)</p>
  
  <p>However, I can connect to the mysql server just fine by using the following command.</p>
  
  <p>mysql -u remoteUser -h 138.68.15.94</p>
  
  <p>Here is my connection string</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>sequelize = new Sequelize(config.mysql.database, config.mysql.user, config.mysql.password, {
      host: config.mysql.host,
      dialect: 'mysql',
      ssl: true,
      dialectOptions: {
        ssl: true
      },
      define: {
        timestamps: false
      },
      pool: {
        max: 5,
        min: 0,
        idle: 10000
      },
    })</code></pre>
  </div>
  </div>
  </p>
  
  <p>Any help would be great! I've been fighting this the past two days.</p>