如何连接我的postgresql数据库和我的Django项目?

2024-05-17 15:49:22 发布

您现在位置:Python中文网/ 问答频道 /正文

当我运行命令“pg\u ctl-D-l logfile start”时,我得到以下结果:

正在等待服务器启动。。。。停止等待
pg_ctl:无法启动服务器
检查日志输出

当我检查日志时,我发现: check-logs

这是我的配置:
settings.py
postgresql.conf
pg_hba.conf

我要更改.conf文件吗?哪些参数? 谢谢你的回答!你知道吗


Tags: 文件py命令服务器参数settingspostgresqlconf