How to install (and run) postgresql on a machine that has mysql?
mysql, postgresql
Solution
It appears that another process is listening on port 5432. Try running the following command:
sudo netstat -tulpn | grep 5432
Problem
I got the package postgresql-8.4.9.tar.bz2 on the postgresql website and installed it following the instructions on the file INSTALL. But when we try to run it, it doesn't work and throws this error: ``` /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 ``` I don't know, maybe it's because of some conflict with mysql. Does anybody know what's going on? Thanks in advance!