Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel

Connect to lamp app mysql db from outside with db client like tableplus/navicat over ssh tunnel

Scheduled Pinned Locked Moved Solved Support
mysql
3 Posts 2 Posters 774 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andirahmat
    wrote on last edited by girish
    #1

    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 :

    1. Create new connection on tableplus
    2. Set the ssh tunnel to cloudron (success)
    3. 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

    girishG 1 Reply Last reply
    0
    • A andirahmat

      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 :

      1. Create new connection on tableplus
      2. Set the ssh tunnel to cloudron (success)
      3. 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

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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

      A 1 Reply Last reply
      0
      • girishG girish

        @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

        A Offline
        A Offline
        andirahmat
        wrote on last edited by
        #3

        @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 IPAddress

        ah this is it : docker inspect mysql | grep IPAddress

        Thank you @girish !

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search