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

Cannot connect to MySQL databases through SSH tunneling #162

Open
MuresanSergiu opened this issue Dec 13, 2024 · 0 comments
Open

Cannot connect to MySQL databases through SSH tunneling #162

MuresanSergiu opened this issue Dec 13, 2024 · 0 comments

Comments

@MuresanSergiu
Copy link

MuresanSergiu commented Dec 13, 2024

I have various connection to databases using SSH tunneling but dbee doesn't seem to be able to connect to them.

If I use this connection string:
"root:pass@tcp(127.0.0.1:5000)/database"
It fails with error
c.db.Conn: Error 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
It somehow changed the 127.0.0.1 to localhost which is not correct.

But if I change it to
"root:[email protected]:5000/database"
It fails with error
adapters.NewConnection: core.NewConnection: adapter.Connect: unable to connect to mysql database: default addr for network '127.0.0.1:5000' unknown

There's nothing that I can do to make this work therefore I cannot use this plugin...

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

1 participant