I have a Python application that connects to a Mysql database through Sqlalchemy, but I did not develop it.
When migrating the database to another server (aws.rds ⇢ go daddy), I changed the connection to the new server and apparently the database is configured correctly because I can connect it to the server. Workbench, but when I run the application it throws the following error:
sqlalchemy.exc.OperationalError OperationalError: (OperationalError) (1044, "Access denied for user 'xpto' @ '%' to database 'otpx'") None None.
How can I resolve this?