I keep receiving the following error in my Webapp
OperationalError: (_mysql_exceptions.OperationalError) (1045, "Access denied for user 'dbadmin'@'xx.xx.xx.x' (using password: YES)")
MySQL Azure:
- Hosted in Region > France Central
- Allowed Access to Azure Services
- Created through Azure portal with username "dbadmin" and server "jetbase"
SQLAlchemy db_uri looks like this
mysql://dbadmin@jetbase:'mysecretpassword'@jetbase.mysql.database.azure.com:3306/jetdb
Webapp:
Hosted in France Central as well
The same docker image when run locally on my dev computer, can access the database (I manually added the ip in the client IP addresses under Security.)
Can someone please help me debug this ?