Jason
Jason

Reputation: 1431

Connecting to Heroku clearDB mySql

I'm dabbling with Heroku and managed to deploy a simple app. I added a ClearDB MySQL database instance that lives here:

mysql://[user]:[password]@us-cdbr-iron-east-04.cleardb.net

I'm trying to connect to it using "dbforge for mysql" but I'm not sure if this is possible. Anyone know if this would be possible? Below shows what the dbforge connection interface looks like as well as the error I get while trying to connect.

enter image description here

Upvotes: 0

Views: 3319

Answers (1)

codefinger
codefinger

Reputation: 10318

In the screenshot you show, the port is 1, which is incorrect. Check your DATABASE_URL to get the correct port or try 3306, which is the default MySQL port.

In addition, you may need to download and configure the SSL certificates.

Upvotes: 1

Related Questions