CircleCI 2.0 config for Rails with MySQL 5.6

rails
mysql
config
cci-20

#1

There’s a good example for a CircleCI 2.0 config for Rails with PostreSQL here:
https://circleci.com/docs/2.0/language-ruby/#sample-configuration

But I can’t find an example for MySQL. Some people say to simply replace ‘postgres’ with ‘mysql’ but that’s not enough. I’ve tried to play with env variables too (MYSQL_USER, etc), but that didn’t work. I’m not sure whether I should provide a config/database.yml.

Does anyone have a working example of the CircleCI 2.0 config for Rails with MySQL 5.6?


#2