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. Grafana
  3. Add MariaDB and Setup as Replica

Add MariaDB and Setup as Replica

Scheduled Pinned Locked Moved Grafana
5 Posts 2 Posters 845 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.
  • brianbB Offline
    brianbB Offline
    brianb
    wrote on last edited by
    #1

    I want to install and use Grafana and set up a MariaDB to use for reporting. The MariaDB would be connected to our main server which is hosted at another provider. Is it possible and practical to install the Grafana app then add one or more MariaDB to the app so we can have mirrors from our main database to use for reporting?

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

      @brianb If I understand correctly, you want to run MariaDB (which is replica of some external database) next to Grafana and this MariaDB is also added to Grafana as a data source.

      Cloudron has no way to run standalone databases. So, you have to run this MariaDB on another VM maybe in the same network/data center as Cloudron. You can then connect it as a datasource in Grafana.

      1 Reply Last reply
      1
      • brianbB Offline
        brianbB Offline
        brianb
        wrote on last edited by
        #3

        Can't I just create a mysql database in the grafana once it is setup in cloundron?

        girishG 1 Reply Last reply
        0
        • brianbB Offline
          brianbB Offline
          brianb
          wrote on last edited by
          #4

          I'm not sure if a MariaDB can sync with mysql but we could try.

          1 Reply Last reply
          0
          • brianbB brianb

            Can't I just create a mysql database in the grafana once it is setup in cloundron?

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

            @brianb said in Add MariaDB and Setup as Replica:

            Can't I just create a mysql database in the grafana once it is setup in cloundron?

            Not sure what you mean here. Are you referring to Grafana's database (https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#database) or Grafana's data source (https://grafana.com/docs/grafana/latest/datasources/mysql/)

            On Cloudron, Grafana's database cannot be changed. It uses PostgreSQL internally.

            If you are referring to data source, then yes, you can can mysql database data source. But I referred to MariaDB only because you mentioned MariaDB in your initial post (in fact, there is no mention of MySQL there).

            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