'Heroku External Access to Mysql Error: connect ECONNREFUSED
I've been trying for two days to access my MYSQL database that is outside of Heorku, on an external IP, in this case 186.227.194.218:3306 I've tried in several ways but I always get the error:
Error: connect ECONNREFUSED 186.227.194.218:3306
My app is in NodeJS and I use this String for remote access:
[adapter]://[username]:[password]:[server_address]:[port]/[database_name]
mysql://usename:****:186.227.194.218:3306/DbName
I created the Variable in Heorku DATABASE_URL with this connection string
Could someone please help me? thanks enter image description here
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
