Forums

MySQL very slow

Hello - I'm evaluating PythonAnywhere with a Django project previously deployed elsewhere. I followed the (every good!) Django tutorial successfully till the MySQL section - which I managed to install/connect to using Django. However I got stuck cause the MySQL instance is very unresponsive.

30 seconds to show databases via the console:

mysql> SHOW DATABASES;
+--------------------------+
| Database                 |
+--------------------------+
| information_schema       |
| xxx$default              |
| xxx$researcher2019       |
+--------------------------+
3 rows in set (28.38 sec)

And if I run python manage.py migrate it basically hangs forever.

Am I doing anything wrong? Is it because I'm using a basic account?


PS In https://help.pythonanywhere.com/pages/DeployExistingDjangoProject/ in the MySQL section it would be useful to mention that one has to set up a DB via the web console separately, before being able to run ./manage.py migrate..

Looks like the server your database is on is very busy. Contact us at support@pythonanywhere.com so we can look what can we do.