Mysql issue in django migrations
Hi,
I have seen others having below problem:
File "/usr/local/lib/python3.6/dist-packages/django/db/migrations/recorder.py", line 57, in ensure_schema raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc) django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1"))
But haven’t been able to find a proper solution. It’s not a syntax problem. Can anyone help ?
Best regards
Peter Sørensen/University of Southern Denmark
On Wed, Nov 21, 2018, at 12:27 AM, Peter Sørensen via Mailman-users wrote:
Hi,
I have seen others having below problem:
File "/usr/local/lib/python3.6/dist-packages/django/db/migrations/ recorder.py", line 57, in ensure_schema raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc) django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1"))
But haven’t been able to find a proper solution. It’s not a syntax problem. Can anyone help ?
Not sure about the problem, this isn't coming from any of our projects. It looks like a problem in Django itself, I'd have to dig up more to figure out which version is affected by this and if we can upgrade Django to fix this.
Best regards
Peter Sørensen/University of Southern Denmark
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
Just FYI
This is a clean 18.04.1 LTS ubuntu install with:
apt-get install mailman3-full
And the mailman3-suite
I use and external MySql running 5.7.5 which should be supported by Django
Best regards
Peter Sørensen
Den 03/12/18 19:28 skrev "Abhilash Raj" <maxking@asynchronous.in>:
On Wed, Nov 21, 2018, at 12:27 AM, Peter Sørensen via Mailman-users wrote:
Hi,
I have seen others having below problem:
File "/usr/local/lib/python3.6/dist-packages/django/db/migrations/ recorder.py", line 57, in ensure_schema raise MigrationSchemaMissing("Unable to create the django_migrations table (%s)" % exc) django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(6) NOT NULL)' at line 1"))
But haven¹t been able to find a proper solution. It¹s not a syntax problem. Can anyone help ?
Not sure about the problem, this isn't coming from any of our projects. It looks like a problem in Django itself, I'd have to dig up more to figure out which version is affected by this and if we can upgrade Django to fix this.
Best regards
Peter Sørensen/University of Southern Denmark
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- thanks, Abhilash Raj (maxking)
participants (2)
-
Abhilash Raj
-
Peter Sørensen