Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special characters in connection uri causing errors #47

Open
crdiaz324 opened this issue Aug 17, 2023 · 1 comment
Open

Special characters in connection uri causing errors #47

crdiaz324 opened this issue Aug 17, 2023 · 1 comment

Comments

@crdiaz324
Copy link

crdiaz324 commented Aug 17, 2023

I am trying to connect to a database that has password that begins with a semicolon. Here are the different approaches that I have tried:

1 - mermerd -c "postgresql://dbuser:;8hi3jj@192.168.111.142:5432/profiles" # plain password
2 - mermerd -c "postgresql://dbuser:%3B8hi3jj@192.168.111.142:5432/profiles" # uri encoded the semicolon
3 - mermerd -c "postgresql://dbuser:${PASSWORD}@192.168.111.142:5432/profiles" # stored the password in an env variable.

I cannot change the password on this DB, but I would very much like to be able to use this tool.

@KarnerTh
Copy link
Owner

KarnerTh commented Sep 3, 2023

Sorry for the late response, I am quite busy currently.
The Uri encoded password should work - I will look into this as soon as I got the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants