I have been using MysqlWorkBench to manage my database in the pythonanywhere server for a few months with no problems. Out of the blue, I get this message and I can't connect:
Your connection attempt failed for user 'username' from your host to server at db1.mysql.pythonanywhere-services.com:3306:
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
Failed to Connect to MySQL at db1.mysql.pythonanywhere-services.com:3306 through SSH tunnel at ssh.pythonanywhere.com with user username. Lost connection to MySQL server at 'reading initial communication packet', system error: 0
As a side note, I was never able to connect via terminal to the pythonanywhere database.
mysql -u username -h username.mysql.pythonanywhere-services.com -p
ERROR 2003 (HY000): Can't connect to MySQL server on 'username.mysql.pythonanywhere-services.com' (60)
MysqlWorkBench was working fine so I just worked with it. Now I can't connect neither way and don't have access to the DB.
Any thoughts?