MariaDB is an open-source, multi-threaded, relational database management system. You can connect to any table in any schema in MariaDB and create a Gtmhub entity based on it.

Prerequisites

If your MariaDB is hosted behind a firewall you must whitelist the Gtmhub IPs for remote access.

How to connect

  • In Gtmhub, navigate to Setup > Data Sources screen

  • Click on the Add new Data Source button

  • From the Choose a Data Source dialog, select MariaDB from Databases tab

Enter the necessary information to connect to your MariaDB database.

  • host: host name or IP address of your MariaDB instance

  • schema: the name of the schema to which you want to connect

  • username: the name of the user with which you wish to connect

  • password: the password of the user with which you wish to connect

  • port: the port where MariaDB is listening. The default is 3306, which is a standard MariaDB port

Click on the Connect button.

  • Choose a table to which you want to connect and click on the Use ... button

  • Give the name to your data source, something that makes sense to you and select the sync schedule (how often you want this data source to be synced automatically)

  • Click on the Add my data source button

What data from MariaDB can I use

You can sync any field from any table in any schema that is accessible to the user with which you connected to MariaDB database.

Gtmhub will automatically coerce types for you, so for example date and timestamp can both be mapped to Gtmhub date type.

Did this answer your question?