mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.43k stars 291 forks source link

Error opening connection getaddrinfo ENOTFOUND db[XXXXXXXXXX].hosting-data.io #1195

Closed FrankCoder closed 11 months ago

FrankCoder commented 11 months ago

SQLTOOLS fails to connect to my ionos hosted mysql 8 db using the same server, port, database, user, name and password I use for my app to connect, which connects flawlessly.

The error returned is "Error opening connection getaddrinfo ENOTFOUND db[XXXXXXXXXX].hosting-data.io"

To Reproduce { "mysqlOptions": { "authProtocol": "xprotocol", "enableSsl": "Disabled" }, "previewLimit": 500, "server": "dbXXXXXXXXXX.hosting-data.io", "port": 33060, "driver": "MySQL", "name": "mgmt-db", "group": "Production", "database": "dbsXXXXXXX", "username": "dbuXXXXXXX", "password": "***", "connectionTimeout": 15 }

Not going to provide credentials at this moment, can setup separated DB for reproduction if necessary. I did triple check the values. My password is 24 characters long, do you have a limit?

Desktop (please complete the following information):

FrankCoder commented 11 months ago

This is a limitation with IONOS. Db is not accessible outside their network.