gpt4 book ai didi

mysql - 如何在装有 mysql 的机器上安装(和运行)postgresql?

转载 作者:行者123 更新时间:2023-11-29 01:23:30 25 4
gpt4 key购买 nike

我在 postgresql 网站上得到了包 postgresql-8.4.9.tar.bz2 并按照文件 INSTALL 上的说明安装了它。但是当我们尝试运行它时,它不起作用并抛出此错误:

/usr/local/pgsql/bin/postgres -D /usr/local/pgsql/data
LOG: could not bind IPv6 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
LOG: could not bind IPv4 socket: Address already in use
HINT: Is another postmaster already running on port 5432? If not, wait a few seconds and retry.
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets

不知道,可能是和mysql有什么冲突吧。有人知道这是怎么回事吗?

提前致谢!

最佳答案

似乎有另一个进程正在监听端口 5432。尝试运行以下命令:

 sudo netstat -tulpn | grep 5432

关于mysql - 如何在装有 mysql 的机器上安装(和运行)postgresql?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10302358/

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