How to set a default connection for a PostgreSQL project? #36232
Unanswered
patrykpalej
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a project in DBeaver using PostgreSQL. I have a couple of sql files in the project and for each of them I have to set the connection separately (
SQL Editor -> Set active connection -> postgres
). Moreover, when I set it, after some time and restart of the program it's disconnected again.After trying to run an sql file I get this:
![image](https://private-user-images.githubusercontent.com/34798604/385669968-a09deeb9-3aab-4e5b-adda-8a442b73b30e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDkxNTksIm5iZiI6MTczOTQ0ODg1OSwicGF0aCI6Ii8zNDc5ODYwNC8zODU2Njk5NjgtYTA5ZGVlYjktM2FhYi00ZTViLWFkZGEtOGE0NDJiNzNiMzBlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDEyMTQxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMwNzQxM2RhNWU0MjBlNmUzNmRkODBmYjRiODg2ODExYTk5ZjY2YjY4YTc4Nzg5MTNlYzg2MjA3NjUyNDE4ZmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Ag2757iPP9T1HIcuceq0deu3f9kZPnV2R1UAPH0nmH8)
So I need to go here and select the connection:
![image](https://private-user-images.githubusercontent.com/34798604/385670267-c81be250-f2f7-45d5-90d4-c62e49a8c9b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk0NDkxNTksIm5iZiI6MTczOTQ0ODg1OSwicGF0aCI6Ii8zNDc5ODYwNC8zODU2NzAyNjctYzgxYmUyNTAtZjJmNy00NWQ1LTkwZDQtYzYyZTQ5YThjOWI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEzVDEyMTQxOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTllNjIwMzRkNzY3OGNlMDIxMjdhMjA0OWNjNTJhY2RjZjZkMjFlOTc0ZWY3ZTA2MmRjNGE2MTI4YTk1MjE3ODcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.igc75ywQ2orvSmIsWo1Cg6NmX3Qhqq1MTKzO5uJCfek)
Is it possible to set a connection in a way that it persists over time and multiple sessions of working with DBeaver?
I'm using Ubuntu system. I have checked the option "Auto-sync connection with navigator" but it doesn't work as expected.
Beta Was this translation helpful? Give feedback.
All reactions