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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    WordPress Dev or LAMP? Externally connect to database

    Off-topic
    3
    3
    77
    Loading More Posts
    • 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.
    • S
      Synthesis6117 last edited by

      I am working on creating an Android app that will connect to a remote database. My intentions are to have some outside connectivity to my Cloudron server. Is this possible? In addition I have a Wordpress site and LAMP installed. I see that LAMP does not allow outside connectivity. What options do I have if any with making a connection to MySQL from an external connection?

      girish 1 Reply Last reply Reply Quote 0
      • robi
        robi last edited by

        best to front it somehow so it's not direct access. API or other DB multiplexing sw.

        Life of Advanced Technology

        1 Reply Last reply Reply Quote 0
        • girish
          girish Staff @Synthesis6117 last edited by

          @Synthesis6117 apps can connect to any external service, including a database.

          Cloudron pre-provisions a database and configures an app to use the database. This is part of our packaging. This is true for WP developer and WP managed.

          However, for the LAMP app, one cannot pre-configure the database since it's "user" code. You can configure the LAMP app to use any database. However, the backup/restore functionality won't work when using an external database. The backup/restore can only backup and restore what is on the Cloudron - the code in this case.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB