Getting error while syncdb django.db.utils.ProgrammingError: permission denied for relation django_migrations

Krish

I have installed postgreSQL and psycopg2, then I created a db and user, I have granted all the permission for the user to the db and I have made all the changes in settings.py. But while I try to migrate, I am getting the error django.db.utils.ProgrammingError: permission denied for relation django_migrations

settings.py:

DATABASES = {
        'default': {
            'ENGINE': 'django.db.backends.postgresql_psycopg2', 
            'NAME': 'easyapp',
            'USER': 'krishna',
            'PASSWORD': 'sudeep',
            'HOST': 'localhost',                     
            'PORT': '',                      
        }
    }

Can anybody help me??

sudeep Krishnan

try to migrate as follows

python manage.py migrate auth
python manage.py migrate

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Steps to Troubleshoot "django.db.utils.ProgrammingError: permission denied for relation django_migrations"

permission denied for relation django_migrations

Permission denied for relation django_migrations using Heroku

Two Django projects with same database - permission denied for relation django_migrations

django.db.utils.ProgrammingError: relation already exists on OenBSD vps

django.db.utils.ProgrammingError: relation "..." does not exist

django.db.utils.ProgrammingError: relation does not exist with recursive model

django.db.utils.ProgrammingError: syntax error at or near "FUNCTION"

Django test fails with 'django.db.utils.ProgrammingError: relation "django_content_type" does not exist'

django.db.utils.ProgrammingError: relation "django_content_type" does not exist

Django Rest Framework "django.db.utils.ProgrammingError: relation "patient" does not exist"

"django.db.utils.ProgrammingError: relation "auth_user" does not exist" Django V2.0

geodjango with mysql getting error django.db.utils.OperationalError: (1045, "Access denied for user

django.db.utils.ProgrammingError: Could not load : column "" of relation "" does not exist

django.db.utils.ProgrammingError: relation "bot_trade" does not exist

django.db.utils.ProgrammingError: column "image" of relation "choices_keyword" already exists

"django.db.utils.ProgrammingError: relation already exists" for unique together constraint

One more "django.db.utils.ProgrammingError: relation "device_gclouddevice" does not exist"

django.db.utils.ProgrammingError: relation "company_company" does not exist when running makemigrations

Django syncdb: access denied

django.db.utils.ProgrammingError: relation "django_site_domain_v2339b81_uniq" already exists

Django Error "django.db.utils.ProgrammingError: subquery has too many columns "

django.db.utils.ProgrammingError: syntax error at or near "WITH ORDINALITY" LINE 6:

Django loaddata returns a permission denied for relation

Heroku: Getting a "django.db.utils.DataError: value too long for type character varying(20)" error while migrating in django

django.db.utils.ProgrammingError: type "raster" does not exist

django.db.utils.ProgrammingError: Table doesn't exist

"Relation not found" error when using Django without syncdb

Permission denied with django migrations in docker