Can someone clarify how Django is looking up MySql version on Windows?
I am attemping to startup django with the following database engine,
‘ENGINE’: ‘django.db.backends.mysql’.
- Regardless of whether I have installed MySql 8.0.36, django errors at app startup with the following message:
- django.db.utils.NotSupportedError: MySQL 8.0.11 or later is required (found 5.6.14).
I cannot locate the MySql 5.6.14 instance that django claims to have found.
Thank you!
More lines from the traceback~~
File “D:\Program Files\Python\Python312\Lib\site-packages\django\db\backends\mysql\base.py”, line 268, in init_connection_state
super().init_connection_state()
File “D:\Program Files\Python\Python312\Lib\site-packages\django\db\backends\base\base.py”, line 226, in init_connection_state
self.check_database_version_supported()
File “D:\Program Files\Python\Python312\Lib\site-packages\django\db\backends\base\base.py”, line 201, in check_database_version_supported
raise NotSupportedError(
django.db.utils.NotSupportedError: MySQL 8.0.11 or later is required (found 5.6.14).