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

tunneling into mysql:connect #123

Open
fruitl00p opened this issue Dec 18, 2020 · 1 comment
Open

tunneling into mysql:connect #123

fruitl00p opened this issue Dec 18, 2020 · 1 comment

Comments

@fruitl00p
Copy link
Contributor

This isn't really an issuer per se as much a documentation issue...

We had some issues trying to get an outside user of the mysql-service to connect and administer their database. After much back-and-forth we finally came to the conclusion that the authorized_keys prohibited the user from building a tunnel using the dokku-user for MySQL...

We still have an issue with remotely connecting to the mysql service using ssh dokku@$host mysql:connect $db which results in a 'black screen'. This black screen seems to be a console prompt (without the console) and after a single query (ie. show tables;) the connection is lost again... Any tips? (this last part is actually an issue)

@josegonzalez
Copy link
Member

I'm not sure, maybe it has to do with the tty vs non-tty connection? This is the command we end up running: https://github.com/dokku/dokku-mysql/blob/master/functions#L21

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