gpt4 book ai didi

windows - postgres- 在管理员帐户下启动进程

转载 作者:可可西里 更新时间:2023-11-01 09:22:09 24 4
gpt4 key购买 nike

是否可以使用具有“管理”权限的用户帐户启动 postgres 进程?我在 Windows XP 上。

--显示的错误是---(不是真正的错误,这是一项安全功能)

The server must be started under an unprivileged user ID to prevent
possible system security compromises. See the documentation for
more information on how to properly start the server.

当前的解决方法是创建普通用户并在其下运行进程。我正在寻找的是启动数据库、执行一些操作并将其关闭作为构建过程的一部分的快速方法。

最佳答案

(多年后)

Postgres 附带一个控制程序。详见 official documentation

简答:

pg_ctl start "args" 

关于windows - postgres- 在管理员帐户下启动进程,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4014678/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com