Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel
-
Hi. Is it possible to Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel? If so can anyone guide me step by step?
What i've done so far :
- Create new connection on tableplus
- Set the ssh tunnel to cloudron (success)
- Set connection to lamp app db
mysql host : mysql (failed), lampp app internal ip (failed)
mysql user : the value of CLOUDRON_MYSQL_USERNAME
mysql pass : the value of CLOUDRON_MYSQL_PASSWORD
mysql port : the value of CLOUDRON_MYSQL_PORT
Still not success
-
Hi. Is it possible to Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel? If so can anyone guide me step by step?
What i've done so far :
- Create new connection on tableplus
- Set the ssh tunnel to cloudron (success)
- Set connection to lamp app db
mysql host : mysql (failed), lampp app internal ip (failed)
mysql user : the value of CLOUDRON_MYSQL_USERNAME
mysql pass : the value of CLOUDRON_MYSQL_PASSWORD
mysql port : the value of CLOUDRON_MYSQL_PORT
Still not success
@andirahmat Try this - https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis/2 . I haven't used tableplus/navcat but if you can post a screenshot maybe it helps debugging further. I think instead of mysql you just need to put in the IP of the mysql container using
docker inspect mysql | grep IPAddress -
@andirahmat Try this - https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis/2 . I haven't used tableplus/navcat but if you can post a screenshot maybe it helps debugging further. I think instead of mysql you just need to put in the IP of the mysql container using
docker inspect mysql | grep IPAddress@girish said in Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel:
@andirahmat Try this - https://forum.cloudron.io/topic/3237/remote-sql-support-on-a-per-app-basis/2 . I haven't used tableplus/navcat but if you can post a screenshot maybe it helps debugging further. I think instead of mysql you just need to put in the IP of the mysql container using
docker inspect mysql | grep IPAddressah this is it : docker inspect mysql | grep IPAddress
Thank you @girish !
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login