How to Install PostgreSQL on Ubuntu WSL & Connect with pgAdmin | Step-by-Step Guide

  Рет қаралды 2,562

Sriw World of Coding

Sriw World of Coding

Күн бұрын

Пікірлер: 25
@sriwworldofcoding
@sriwworldofcoding 3 ай бұрын
If u are still facing error while connecting to Postgres database using pgAdmin : Unable to connect to server. connection failed: FATAL: password authentication failed for user "postgres" connection to server at "127.0.0.1", port 5432 failed: FATAL: password authentication failed for user "postgres" 1. Open WSL and switch to postgres user using command : sudo -i -u postgres 2. Open psql shell using : psql 3.Update the password of postgres user using: \password postgres 4. Enter the password as postgres and retype the same password Now u will be able to connect Postgres database using pgAdmin
@lionelmockel3935
@lionelmockel3935 3 ай бұрын
than you, it seems to work!
@sriwworldofcoding
@sriwworldofcoding 3 ай бұрын
Please support by subscribing to my channel🙏
@lionelmockel3935
@lionelmockel3935 3 ай бұрын
​@@sriwworldofcodingdone!
@maximeaubry2613
@maximeaubry2613 3 ай бұрын
unfortunately, i still have this error
@sriwworldofcoding
@sriwworldofcoding 3 ай бұрын
Can u please tell what error u are facing
@xiztspike81
@xiztspike81 Ай бұрын
Thanks son much!, love you 🤗♥
@sriwworldofcoding
@sriwworldofcoding Ай бұрын
Please support by subscribing to my channel
@melom806
@melom806 14 күн бұрын
Doesn't work. I am only able to see postgre databases that are present in Windows and not in WSL.
@sriwworldofcoding
@sriwworldofcoding 14 күн бұрын
Hi.. May I know what error/issue u are facing exactly. Postgres is installed in wsl... Pgadmin is installed in windows to connect to postgres database
@blessedepressed
@blessedepressed 2 ай бұрын
Спасибо брат помог
@sriwworldofcoding
@sriwworldofcoding 2 ай бұрын
Please support by subscribing to my channel 🙏🙏
@lionelmockel3935
@lionelmockel3935 3 ай бұрын
Unable to connect to server: cnnection failed: connection to server at 127.0.0.1, port 5432 failed: password authentification failed for user "postgres" .... I think it has a problem with my username but how can I know what would be my username? Thank you
@sriwworldofcoding
@sriwworldofcoding 3 ай бұрын
Kindly follow the steps to setup connection to pgadmin in case of error : 1. Open WSL and switch to postgres user using command : sudo -i -u postgres 2. Open psql shell using : psql 3.Update the password of postgres user using: \password postgres 4. Enter the password as postgres and retype the same password Now u will be able to connect Postgres database using pgAdmin
@blessedepressed
@blessedepressed 2 ай бұрын
hi bro, pls help me, evertime when i try to create db, i get endless loading, why???? PLS HELP ME(im sub:)
@sriwworldofcoding
@sriwworldofcoding 2 ай бұрын
Can u please elaborate what your actual error is.... Are u creating db using pgadmin Or postgres shell...
@blessedepressed
@blessedepressed 2 ай бұрын
@@sriwworldofcoding Im press create db in pgadmin, insert db name and get endless loading, thx u for help!
@Android-ff2ie
@Android-ff2ie 26 күн бұрын
@@blessedepressed привет, решил проблему?
@andrewblaze6930
@andrewblaze6930 5 ай бұрын
psql server is not runnign actually in my wsl. and also im seeing some permission issues too "andrew@ANDREW-BLAZE:~$ sudo -u postgres psql -c 'SHOW config_file' could not change directory to "/home/andrew": Permission denied config_file ----------------------------------------- /etc/postgresql/14/main/postgresql.conf (1 row) ". finally in the pg admin it is saying unable to connect to the 127...... 5432.... password authentication failed can u help me?
@sriwworldofcoding
@sriwworldofcoding 5 ай бұрын
U can start running psql using command : sudo systemctl start postgresql default password to connect with postgresql is "postgres" itself. Please let me know if u are still facing the issue .
@sriwworldofcoding
@sriwworldofcoding 3 ай бұрын
Kindly follow the steps to setup connection to pgadmin in case of error : 1. Open WSL and switch to postgres user using command : sudo -i -u postgres 2. Open psql shell using : psql 3.Update the password of postgres user using: \password postgres 4. Enter the password as postgres and retype the same password Now u will be able to connect Postgres database using pgAdmin
Fixing AirflowException: Webserver Already Running Error [PID]
1:42
Sriw World of Coding
Рет қаралды 788
Установка PostgreSQL и pgAdmin4 на Linux Ubuntu
8:19
КОГДА К БАТЕ ПРИШЕЛ ДРУГ😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
Trapped by the Machine, Saved by Kind Strangers! #shorts
00:21
Fabiosa Best Lifehacks
Рет қаралды 28 МЛН
NeoVim + WSL on Windows Setup Guide [Ubuntu 24.04]
26:29
The Rad Lectures
Рет қаралды 8 М.
Connect to PostgreSQL Using SQLAlchemy & Python
8:37
Analyzing Alpha
Рет қаралды 35 М.
2. Install Java - JDK In Ubuntu (Linux) | WSL
16:28
Integration Anarchy
Рет қаралды 8 М.
How To Install PostgreSQL on Ubuntu 22.04 LTS (Linux)
14:58
ProgrammingKnowledge
Рет қаралды 133 М.
Easiest Way To Connect Django To A Postgres Database
7:28
Dennis Ivy
Рет қаралды 86 М.
Best OS for programming? Mac vs Windows vs Linux debate settled
8:41
connect pgAdmin to postgreSql - docker
8:51
Acer Tech
Рет қаралды 22 М.
How To Install PostgreSQL on WSL
3:10
LC
Рет қаралды 8 М.