Tuesday, August 28, 2018

Re: Error: Not able to create table using models (Backend mysql)

make sure you have installed correct Django and MySQLclient versions. If not try to change the versions.

or give permissions to user
grant usage on schema public to username;  grant create on schema public to username;

On Tue, Aug 28, 2018 at 1:20 PM Sonali Vighne <sonalivighne@gmail.com> wrote:

I am getting this error

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"))

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/2b7b7b18-77a4-4209-bb3f-e0afe48e9611%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Mohd Aqib
Software Engineer
9873141865

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAOh93ndCPgUSzbF%3DOe2nx2oQEu9pLPqrU%2BtF6jswBScH5fYi2Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment