Some possible troubleshooting steps:
- check the server address -
mysql.server
- double-check the password - is it the same as the one you configured on the pythonanywhere MySQL config screens
- double-check the database name - this follows the format
username$database_name
- check if you can open a normal mysql console, firstly from the MySQL tab, and then manually in a bash shell with
.
mysql -u my_username -h mysql.server -p
[edit] - the final solution was:
* double-check the database name - this follows the format username$database_name
don't forget that username$
folks!