Can I share my database with someone

I am doing a test assignment now (looking for a job), and one of the demands is to share info on my DB in order for them to check what's there. I am not really sure what I must do. One of the options is to pass them DB variables. Is this the right way? Will they be able to see the content of the DB?
7 Replies
Percy
Percy11mo ago
Project ID: 13f0c826-2b6c-497f-bf6e-5cfbc1cd8242
Maremarsik
Maremarsik11mo ago
13f0c826-2b6c-497f-bf6e-5cfbc1cd8242
Brody
Brody11mo ago
Will they be able to see the content of the DB
yes but isnt that the point?
Maremarsik
Maremarsik11mo ago
Yes, it's the point. But what exactly should they do to see it, having only these variables?
josh
josh11mo ago
if they don't know what they are supposed to do with the db url connection when you give it them that's kind of a red flag if you're actually doing this assignment for someone... anyway that's besides the point - once you get the db connection, you can get the details and enter them into your favourite database management program, then use a query like SELECT * FROM table or just look at the records
Maremarsik
Maremarsik11mo ago
Thanx, got it! Want to try it with my pgAdmin then
Brody
Brody11mo ago
josh has a good point, so make sure you don't have anything sensitive in the database, take a backup before handing the credentials off, and regen the credentials right after they're done