我在Windows 10 PC上安装了Postgresql。我使用pgAdmin II工具创建了一个名为company的数据库,现在我想启动数据库服务器运行。我无法弄清楚如何做到这一点。 我已经在postgres命令行上运行了启动命令,似乎没有任何事情发生。如何在Windows上启动PostgreSQL
我做的是:
postgres=# pg_ctl start
postgres=# pg_ctl status
postgres=# pg_ctl restart
postgres=# pg_ctl start company
postgres=# pg_ctl status
.....->我看到什么回来。
'psql'通常连接到正在运行的服务器。所以如果你可以启动'psql',那么Postgres已经在运行了 –
谢谢。我可以看到现在发生了什么。 – Sean