Hostname returning error

epiz_29015806

MySQL Database: sql311 epizy com

Error Message

Error: getaddrinfo ENOTFOUND sql311.epizy.com
errno: -3008,
code: ‘ENOTFOUND’,
syscall: ‘getaddrinfo’,
hostname: ‘sql311.epizy.com’,
fatal: true

Other Information

Using NodeJS mysql library and .createPool with a config with the correct credentials return the error above.

Are you connecting to the database server from your InfinityFree hosting server?
Remote SQL connections are disabled.

That could be it. Yeah ive tried to connect using DBeaver and that also doesn’t work. Is there a way to enable it?

If not is there a way to use the server as a proxy for the SQL query?

Upgrade to premium hosting

Remote database connections are disabled so it won’t work on free hosting. However on premium hosting remote database connections are allowed so you can, use peemium hosting.