PostgreSQL Tips #1
PostgreSQL - port 5432 already in use
To check what is running on port 5432, issue the following command on your terminal
sudo lsof -i :5432
To kill all PostgreSQL processes, issue the following command
sudo pkill -u postgres
PostgreSQL - port 5432 already in use
To check what is running on port 5432, issue the following command on your terminal
sudo lsof -i :5432
To kill all PostgreSQL processes, issue the following command
sudo pkill -u postgres