I’ve tried every help found in the forum and none of them worked… At this point I can use the command “fly proxy 6543:5432 -a ” and get the message “Proxying local port 6543 to remote [app-name.internal]:5432”
It seems everything works up until this point. Now when I try to connect DBeaver I can’t get a successful connection. Can someone give like a step-by-step from this point onwards? Like… getting the db-name (Which I think I have the correct one) and also the user and password for the database?
Can you comment what’s the error message you’re getting from your DBeaver?
If you’re using fly proxy ... make sure your dbeaver points to localhost too. As for getting the environment variables my suggestion is fly ssh console -a YOUR_DB_APP_NAME and simply run env then you’ll see all envs including username and password.
Thanks for you quick reply! So… It’s seems I am missing something.
See if I got the steps right:
fly proxy 6543:5432 -a → Console message: Proxying local port 6543 to remote [app-name.internal]:5432
fly ssh console -a → I can get the OPERATOR_PASSWORD but I don’t see any user… I’ve tried postgres
Opened DBeaver and created a new connection using Host: localhost, Port:6543, Authentication: Database Native, Username: postgres, Password: OPERATOR_PASSWORD
Test Connection Button → Connection Error. Connection Reset
Any other suggestions? I’m sure I’m very close but I’m missing something simple that I can’t seem to find!