Hello, I’m trying to connect to a PostgreSQL managed database with pgAdmin4 in order to be able to access the database. Since I’m new to DigitalOcean and deployment in general, I have some uncertainties. I have already made a connection between pgAdmin4 and PostgreSQL by creating a new server in pgAdmin4 and inputting my Connection parameters. Now I can see the databases that I have and also the tables inside, however I’m unsure what will happen if I try to make changes in the data. For example if I want to edit a row in a table or import a lot of information into multiple tables, will that have some negative effect and will the PostgreSQL managed database update with the changes I make in pgAdmin4. Another question regarding the connection itself, is this connection secure and is there a better way to do it?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
Yes, the connection is secure as only SSL connections are allowed.
To make it more secure, you could lock down your database to be only accessible via some IP addresses as described here:
https://docs.digitalocean.com/products/databases/postgresql/how-to/secure/
Yes, any changes you make via the pgAdmin4 are essentially directly made on the database clusters, so if you delete a database via pgAdmin4, it is deleted directly from the cluster, and the same goes for any data you add in there.
The pgAdmin4 tool is essentially just a client that allows you to connect to the remote server and make changes directly to the databases there.
Hope that this helps!
Best,
Bobby