I have two questions about Heroku metabase



I’m using Heroku metabase.
I’m trying to connect to mysql
I get the same error # 1 and # 2 below.
I want to find a solution

#1. time out


018-05-15T08:51:45.124410+00:00 heroku[router]: at=info method=POST path="/api/database" host=audition-data.herokuapp.com request_id=9f8a9bf5-4ab3-4acb-9610-25d0ab5e1e6f fwd=“” dyno=web.1 connect=1ms service=5013ms status=400 bytes=474 protocol=https

2018-05-15T08:51:45.114190+00:00 app[web.1]: 05-15 08:51:45 e[1mERROR metabase.drivere[0m :: Failed to connect to database: Timed out after 5000 milliseconds.

2018-05-15T08:51:45.119091+00:00 app[web.1]: 05-15 08:51:45 e[1mDEBUG metabase.middlewaree[0m :: e[31mPOST /api/database 400 (5 s) (0 DB calls).e[0m

2018-05-15T08:51:45.119093+00:00 app[web.1]: {:valid false, :dbname “Timed out after 5000 milliseconds.”, :message “Timed out after 5000 milliseconds.”}

2018-05-15T08:51:45.119095+00:00 app[web.1]:

#2. memory over

2018-05-15T08:54:59.596472+00:00 heroku[web.1]: Process running mem=581M(113.5%)

2018-05-15T08:54:59.596589+00:00 heroku[web.1]: Error R14 (Memory quota exceeded)