I added cleardb to my Heroku app.
config:
CLEARDB_DATABASE_URL: mysql://username:password@us-cdbr-iron-east-04.cleardb.net/databse?reconnect=true
DATABASE_URL: mysql2://username:password@us-cdbr-iron-east-04.cleardb.net/database?reconnect=true
Procfile:
web: target/universal/stage/bin/playeditor -Dhttp.port=${PORT} -Ddb.default.driver=com.mysql.jdbc.Driver -Ddb.default.url=${DATABASE_URL} -Dplay.crypto.secret=${APPLICATION_SECRET}
When I try to test the database connection(add server connection in MySQL Workbench) :
Can't connect to MySQL server on 'us-cdbr-iron-east-04.cleardb.net' (60)
And I tried another way:
mysql -u username -p -h us-cdbr-iron-east-04.cleardb.net
I also get the same error.
The firewall is off from the beginning.