Setup on AWS Beanstalk with mysql

Hi,

I’ve tried metabase on my machine and it worked great so I decided to move it into our AWS cloud.

I’ve followed instruction based at https://www.metabase.com/docs/v0.31.0/operations-guide/running-metabase-on-elastic-beanstalk.html#running-metabase-on-aws-elastic-beanstalk but I changed the database from postgres to mysql 8.0 (because we are used to operate mysql, not pgsql)

The problem is that my env health check fail

I’ve looked at the logs, /var/log/eb-docker/containers/eb-current-app/xxx-stdouterr.log and I see lots of:

Nov 15, 2018 1:04:05 PM org.postgresql.core.v3.ConnectionFactoryImpl log
WARNING: SQLException occurred while connecting to aagpb43pwyhh25.cmn4kfxkbjp3.eu-west-3.rds.amazonaws.com:3306
org.postgresql.util.PSQLException: Protocol error. Session setup failed.

Which is obvious since I’v setup a mysql database in the beanstalk env …

How can I change that setting ?

Thanks in advance

1 Like