【发布时间】:2014-08-30 11:33:41
【问题描述】:
我目前正在我的 Windows 计算机上设置 postreSQL 服务器。
我想创建我的第一个数据库,但由于密码验证失败而无法创建 createdb 函数。因此我在这个网站上发现了以下问题:
How to configure postgresql for the first time?
但是,我想我忘记了 ;在结尾:
ALTER USER postgres with encrypted password 'xxxxxxx';
现在,当我尝试启动 psql 时,出现以下错误:
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Active code page: 1252
psql: could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused (0x0000274D/10061)
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?
Press any key to continue . . .
知道我可以做些什么来解决这个问题吗?
您认为真的是缺少半列导致问题吗?
您有关于如何在 Windows 上设置 postgreSQL 数据库的教程吗?到目前为止,我发现的所有版本都仅适用于 Linux。
【问题讨论】:
标签: database windows postgresql configuration postgresql-9.3