MySQL connection works only locally

Im hosting an app on the Community Cloud using a MySQL database. Locally it works fine but when hosting something goes wrong with the connection.This is the error message:

Error: 1045 (28000): Access denied for user ‘’@‘34.83.176.217’ (using password: NO)

I checked the credentials and they are not the issue.

Do you need to whitelist IP addresses to access your MySQL database (with your DB host)? That’s one of the IP addresses that Community Cloud uses to host apps.

(I’m also seeing the “using password: NO” part and wondering how/if your credentials are configured on Community Cloud…)