简体   繁体   English

psycopg2.OperationalError:fe_sendauth:未提供密码

[英]psycopg2.OperationalError: fe_sendauth: no password supplied

I recently started following the Geodjango tutorials on the Django documentation. 我最近开始关注Django文档上的Geodjango教程。 I have installed all I need: PostgreSQL, PostGIS, psycopg2, GDAL. 我已经安装了所有我需要的东西:PostgreSQL,PostGIS,psycopg2,GDAL。 My python version is 3.7.0 and django version is 2.1 我的python版本是3.7.0,django版本是2.1

Anytime I run py manage.py makemigrations I get this error 每当我运行py manage.py makemigrations时,我都会收到此错误 在此处输入图片说明

Please help, thanks! 请帮忙,谢谢!

Make sure in your settings.py you are setting the database PASSWORD , not PASS as is expected by default. 在确保settings.py您正在设置数据库PASSWORD ,没有PASS为默认情况下的预期。 That's what threw me! 那就是让我投掷的东西!

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQLAlchemy (psycopg2.OperationalError) fe_sendauth:未提供密码 - SQLAlchemy (psycopg2.OperationalError) fe_sendauth: no password supplied AWS-DJANGO-格式错误:OperationalError:fe_sendauth:未提供密码 - AWS - DJANGO - Error in formatting: OperationalError: fe_sendauth: no password supplied Python 和 Postgresql:OperationalError:fe_sendauth:未提供密码 - Python and Postgresql: OperationalError: fe_sendauth: no password supplied Django psycopg2.OperationalError:fe_sendauth错误,但未连接到PostgreSQL数据库 - Django psycopg2.OperationalError: fe_sendauth error but not connecting to postgresql database fe_sendauth:Composer 中没有提供密码 - fe_sendauth: no password supplied in Composer django.db.utils.OperationalError:fe_sendauth:迁移 django 应用程序时未提供密码 - django.db.utils.OperationalError: fe_sendauth: no password supplied when migrating django app PostgreSQL错误-psql:fe_sendauth:未提供密码 - PostgreSQL Error - psql: fe_sendauth: no password supplied Django 4 使用密码文件连接到 Postgresql:“fe_sendauth:未提供密码” - Django 4 connection to Postgresql using passfile: "fe_sendauth: no password supplied" 将postgres作为Docker服务运行时,“psql:fe_sendauth:没有提供密码” - “psql: fe_sendauth: no password supplied” when running postgres as a Docker service Django fe_sendauth:未提供密码错误,无法连接到 postgres 数据库 - Django fe_sendauth: no password supplied error, unable to connect to postgres database
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM