title: Cannot deploy strapi using mysql to Heroku
body: <p>I'm new to Heroku but this seems pretty simple/straightforward.</p>
  <p>I have a strapi application that works fine on my local machine.  I've pushed that application to github and then connected it to Heroku in the Staging section. I've added the mysql package to strapi.</p>
  <p>I've added config vars for ADMIN_JWT_SECRET, DATABASE_HOST, DATABASE_NAME, DATABASE_PASSWORD, DATABASE_USERNAME, and NODE_ENV into Heroku.</p>
  <p>My config/server.js is minimal:</p>
  <pre><code>module.exports = ({ env }) =&gt; ({
    host: env('HOST', '0.0.0.0'),
    port: env.int('PORT', 1337),
    admin: {
      auth: {
        secret: env('ADMIN_JWT_SECRET'),
      },
    },
  });
  </code></pre>
  <p>my config/database.js is also simple:</p>
  <pre><code>module.exports = ({ env }) =&gt; ({
    defaultConnection: 'default',
    connections: {
      default: {
        connector: 'bookshelf',
        settings: {
          client: 'mysql',
          host: env('DATABASE_HOST', '127.0.0.1'),
          port: env.int('DATABASE_PORT', 3306),
          database: env('DATABASE_NAME', 'strapi'),
          username: env('DATABASE_USERNAME', 'user'),
          password: env('DATABASE_PASSWORD', 'pass'),
          ssl: env.bool('DATABASE_SSL', false),
        },
        options: {}
      },
    },
  });
  </code></pre>
  <p>Upon deployment, I cannot access the site.  I get this error:</p>
  <p>Application error
  An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
  heroku logs --tail</p>
  <p>Any help is appreciated.</p>
  <p>Thanks,</p>
  <p>Andrew</p>