dwyl / learn-postgresql

🐘 Learn how to use PostgreSQL and Structured Query Language (SQL) to store and query your relational data. 🔍
212 stars 23 forks source link

"Port in use" PostgresSQL 13 #78

Closed ayelen3976 closed 3 years ago

ayelen3976 commented 3 years ago

Hi, can any help me? I cant see my db . I just want see

Captura de Pantalla 2020-12-26 a la(s) 13 34 10

databases that I have

Captura de Pantalla 2020-12-26 a la(s) 13 54 51
nelsonic commented 3 years ago

Hi @ayelen3976 👋 Thanks for opening this issue. How did you install Postgres? (E.g did you use Homebrew?) You appear to have an existing instance running?

ayelen3976 commented 3 years ago

@nelsonic I didnt use Homebrew . I installed from the pageweb postgres and donwload the option to macbook. I used to start with this command >> psql -U postgres. now I want enter with the same command but I cant . because postgres say "port in use"

nelsonic commented 3 years ago

@ayelen3976 if you run sudo pkill -u postgres as per https://github.com/dwyl/learn-postgresql/issues/60#issuecomment-602025009 does it kill your Postgres DB server? 💭

ayelen3976 commented 3 years ago

@nelsonic didnt work , but I restart my laptop and the db of postgres work . thankss anyway

nelsonic commented 3 years ago

@ayelen3976 strange. But glad you made progress. 🙌

nelsonic commented 3 years ago

Nothing like turning it off an on again. ♻️

Closing this issue as there is nothing else we can do for it. 👍