简体   繁体   中英

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.

在此处输入图片说明

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM