I'm getting the connection error shown below.
I recreated the link with no avail. Rewritten the credentials with no avail either.
My ESP connects to the DB without a problem using the same credentials.
How can I troubleshoot my problem?
TIA
Error: ER_ACCESS_DENIED_ERROR: Access denied for user 'user_iot'@'82.179.66.52' (using password: YES)
What database type is that?
The error suggests that you are trying to connect from a Russian IP address on the internet, are you trying to access a database across the internet?
Can you connect from the command line mysql client on the machine running node-red? Something like mysql --host=<mysql host ip> --user=user_iot --password=<thepassword>
That is the IP of the server, not the ip of the pi. The error is saying you can't connect to the server from 82.179.66.52. At least I think that is what it is saying.
That is a pain, it seems the mysql client isn't in a separate package in Raspbian.
When you said you could connect from ESP, what did you mean by that?