How to install PostgreSQL on WSL Ubuntu and connect pgAdmin

preview_player
Показать описание
sudo apt update

documentation

pgAdmin 4

sudo -u postgres psql

documentation

CREATE ROLE yourUser PASSWORD 'yourpass' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;

00:00 - PostgreSQL
00:30 - pgAdmin 4
Рекомендации по теме
Комментарии
Автор

Thanks a lot !! I was looking for a long a time this solution !! I really appreciate !

rodrigocm
Автор

This is probably the best video on YouTube

egekaplan
Автор

Aunq el video no tiene audio decidir ver tu proceso y me sirvio mucho. Ya habia tenido muchos problemas con wsl. muchas gracias.

edinsonfr
Автор

ты в курсе что ты и не подключился к серверу wsl?

JarerFolders
Автор

Thanks for thé vidéo.
Could you provide thé command mines please ?

maximeaubry
Автор

Hi, I don't understand. 5432 is the port on Ubuntu. I have another PostgreSQL server on windows with the same port. How does PgAdmin differentiate? It's not working on my end.

OsamaImran-lwfb
Автор

psql: error: connection to server on socket failed: No such file or directory
Is the server running locally and accepting connections on that socket? how can i fix that

oakTINO