PythonAnywhere Forums

Help i'm not able to connect to my database

After deploying my app and try to interact with the database either by registering users or logging in i keeo on gettin this error;

(_mysql_exceptions.OperationalError) (1045, "Access denied for user 'mysql'@'10.0.0.156' (using password: YES)")

Please how can i resolve this.

Thanks

Your database username is not mysql . Use the username that is displayed on the Databases page.

Thanks glenn, i have found the error and fixed it.