Description
Hello, I have been having a problem since this afternoon that had never happened to me. It's quite weird because I use a code that I had previously done, the one worked perfectly and now it doesn't work anymore (I'm afraid the problem comes from the side of the host) but by doubt I'm asking the problem here, I may have been wrong about some things.
to know: In my case, I try to communicate from my Node.js API locally with my MySQL database which it is hosted at PlanetHoster.
My configuration file looks like this basically :
My controller in which I run a very simple query to test:
I'm using a pool here, which I've already tried with createConnection as well.
In running this, here's the error I get :
After having this error, I decided to increase the value of "acquireTimeout" to "10000000" in my configuration file and now the error is no longer "PROTOCOL_SEQUENCE_TIMEOUT" but "ETIMEDOUT", with the ip of my server (hidden in red) and the port (the identifiers are therefore correct I think) but the problem is there, it does not work...
I don't know where to look, I tested a lot of things (including the issues posted here about this error) but nothing works, nothing solves the problem (I also tried with the url in string format instead of the configuration file).
Thank you very much to the people who will take the time to answer me, any help is welcome !