Forums

NotSupportedError( django.db.utils.NotSupportedError: MySQL 8 or later is required (found 5.7.41).

Django me arroja este error MySQL.

We are working on that. Until MySQL 8 is ready, use Django 4.1.

Thanks, I changed from Django 4.2 to 4.1 and the problem was solved.

We are now able to migrate users to MySQL 8 on request. The migration takes a few minutes plus the time it takes for us to dump and reload your databases on the new server. So larger databases will take longer. Your database will not be available during the migration. You will need to be on either the glastonbury or the haggis system image (https://help.pythonanywhere.com/pages/ChangingSystemImage/), so please make sure that you are on one of those before making the request. Send a request to support@pythonanywhere.com with an indication of a time when it will be convenient for you (between 11am and 6pm UTC on a weekday).

Buen día,yo inverti en primeglobes y ahora su página está desabilitado,me dicen que contacte con el soporte de la empresa, pero ni ello responden

What is primeglobes? What does your investment have to do with PythonAnywhere?

I ran into an extremely frustrating problem when upgrading to Django 4.2 then downgrading to 4.1, where I was getting the error

raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb module.

I eventually managed to fix this by rebuilding the mysqlclient package.

pip uninstall mysqlclient
pip install --no-binary :all: mysqlclient

Hopefully this manages to save someone hours of debugging.