SCRIPT ERROR in promise (unhandled): Error: getaddrinfo ENOTFOUND 127.0.0.1:3306

I want to create my fivem server hosted on vps machine from hetzner with pterodactylpanel, i setup databases and configure connection in server.cfg file but error is still there
SCRIPT ERROR in promise (unhandled): Error: getaddrinfo ENOTFOUND 127.0.0.1:3306

[ script:mysql-async] [ERROR] [MySQL] [esx_vehicleshop] An error happens on MySQL for query “SELECT * FROM vehicle_categories”: getaddrinfo ENOTFOUND 127.0.0.1:3306
[ script:mysql-async] SCRIPT ERROR in promise (unhandled): Error: getaddrinfo ENOTFOUND 127.0.0.1:3306
[ script:mysql-async] > undefined (Error: getaddrinfo ENOTFOUND 127.0.0.1:3306)
[ script:mysql-async] > GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60)
[ script:mysql-async] > Protocol._enqueue (@mysql-async/mysql-async.js:6179)
[ script:mysql-async] > Protocol.handshake (@mysql-async/mysql-async.js:6086)
[ script:mysql-async] > PoolConnection.connect (@mysql-async/mysql-async.js:711)
[ script:mysql-async] > Pool.getConnection (@mysql-async/mysql-async.js:4753)
[ script:mysql-async] > Pool.releaseConnection (@mysql-async/mysql-async.js:4862)
[ script:mysql-async] > Pool._removeConnection (@mysql-async/mysql-async.js:4982)
[ script:mysql-async] > Pool._purgeConnection (@mysql-async/mysql-async.js:4963)
[ script:mysql-async] > Handshake.onConnect (@mysql-async/mysql-async.js:4762)
[ script:mysql-async] > Handshake. (@mysql-async/mysql-async.js:1117)
[ script:mysql-async] > Handshake._callback (@mysql-async/mysql-async.js:1083)
[ script:mysql-async]

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.