No connection with the remote DB

After re-uploading my website to the remote server, I encounter the following error message:

{"status":"500","code":"ECONNREFUSED","message":"connect ECONNREFUSED ::1:3306","stack":"Error: connect ECONNREFUSED ::1:3306\n at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1195:16)"}

Could this issue be related to changes in Wappler 7 Beta 29, or is it a modification on the host's end?

Any help would be greatly appreciated.

Try 127.0.0.1 instead of localhost, it looks like it's trying to connect to MySQL over IPv6 instead of IPv4

I share the same perspective.

While working alone, I didn’t consider replacing localhost with 127.0.0.1. It is immensely reassuring to know that I am not isolated; I have an entire Wappler community supporting me.

Thank you, @Apple, for your assistance; it was successful :heart_eyes:

2 Likes