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. MySQL database credentials do not appear in Web terminal

MySQL database credentials do not appear in Web terminal

Scheduled Pinned Locked Moved Solved Support
mysql
6 Posts 4 Posters 774 Views 4 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.
    • Z Offline
      Z Offline
      zylstra
      wrote on last edited by girish
      #1

      Per <ins>this page</ins> I ran env | grep CLOUDRON_MYSQL in the Web terminal. The result was nothing, just the return of the command line.

      robiR 1 Reply Last reply
      0
      • Z zylstra

        Per <ins>this page</ins> I ran env | grep CLOUDRON_MYSQL in the Web terminal. The result was nothing, just the return of the command line.

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        @zylstra from which app?

        did you check the files there?

        Conscious tech

        1 Reply Last reply
        1
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by girish
          #3

          Those credentials will only appear for an app that actually uses MySQL. For example, if it uses Postgres, it will have some other Postgres related environment variables.

          Note that access credentials are per app. Only the app can access the specific database. One app cannot access another app's database.

          M 1 Reply Last reply
          0
          • girishG girish

            Those credentials will only appear for an app that actually uses MySQL. For example, if it uses Postgres, it will have some other Postgres related environment variables.

            Note that access credentials are per app. Only the app can access the specific database. One app cannot access another app's database.

            M Offline
            M Offline
            msbt
            App Dev
            wrote on last edited by
            #4

            @girish said in MySQL database credentials do not appear in Web terminal:

            Note that access credentials are per app. Only the app can access the specific database. One app cannot access another app's database.

            that's not quite correct, if you know the MYSQL username and password, you can use any app with MYSQL to access that database 😉

            girishG 1 Reply Last reply
            1
            • M msbt

              @girish said in MySQL database credentials do not appear in Web terminal:

              Note that access credentials are per app. Only the app can access the specific database. One app cannot access another app's database.

              that's not quite correct, if you know the MYSQL username and password, you can use any app with MYSQL to access that database 😉

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

              @msbt Right. We considered network blocking/fire walling the databases per app, but people wanted to use another app's database across apps sometimes.

              But also, this is the same as saying (for any service) "One use cannot access another user's email/account". If I know their username/password, I can access it, of course 🙂

              M 1 Reply Last reply
              1
              • girishG girish

                @msbt Right. We considered network blocking/fire walling the databases per app, but people wanted to use another app's database across apps sometimes.

                But also, this is the same as saying (for any service) "One use cannot access another user's email/account". If I know their username/password, I can access it, of course 🙂

                M Offline
                M Offline
                msbt
                App Dev
                wrote on last edited by
                #6

                @girish haha true, just wanted to throw that in there 😄

                1 Reply Last reply
                1
                • girishG girish marked this topic as a question on
                • girishG girish has marked this topic as solved on
                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