Forums

Broken DB

Hello, I cannot connect to my database. Everythng was working till 1:58 PM. Then i see in error logs: MySQLdb.OperationalError: (2003, "Can't connect to MySQL server on <'myusername>.mysql.eu.pythonanywhere-services.com:3306' (110)").

When I try go to database section through dashboard there is error:

"""

Server Error :-/

An error has occurred. This shouldn't happen

"""

When I try to connect through console I have following error: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I have mysql migration two days ago from mysql 5 to 8 and till now everything goes fine. Can someone see that kind of probelm ?

If the hostname you're connecting to ends with mysql.eu.pythonanywhere-services.com, then that's likely to be the problem. You're on our US-hosted system, so the hostname will just end with .mysql.pythonanywhere-services.com -- no .eu in there.

Ah, I see that someone with a similar username sent us a feedback message from the EU system regarding an account there; we'll reply to that now.