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

Can't remote connect to Mysql and MongoDB services in DOKKU #90

Closed
toitoine31 opened this issue Feb 20, 2018 · 1 comment
Closed

Can't remote connect to Mysql and MongoDB services in DOKKU #90

toitoine31 opened this issue Feb 20, 2018 · 1 comment

Comments

@toitoine31
Copy link

toitoine31 commented Feb 20, 2018

Hi,

I have dokku installed on my machine with multi apps running and some services : MongoDB and MySQL.

I used :

dokku mongo:expose my_database
dokku mysql:expose my_database

But i cant connect with Datagrip or Robomongo tools with remote connection.

I also used the information given by :

dokku mongo:info my_database
dokku mysql:info my_database

Same with the terminal to access MySQL :

mysql -u mysql -h dokku-mysql-upload --port <exposed_port> -p

I realy don't understand where is the problem.

Thank's,
Antoine

@josegonzalez
Copy link
Member

The hostname is an internal docker hostname. You'll need to use your server's ip address or hostname when connecting remotely.

Hope that helps.

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