External Data Source
External Data Source allow you connect to your own Database instance outside Platform Entities, right now External Data Source only used on Reporting. You only can run query to read data from Platform. The following Databases are supported by Platform.
- PostgreSQL
- MySQL
- MariaDB
Connect to PostgreSQL
-
Select Application -> Compose.
-
Go to Resource and select tab External Data Source
-
Click Add Connection and select PostgreSQL
-
Fill the parameter a. Host : Host is network address of the machine where the PostgreSQL server is running. It could be an IP address or a domain name
b. Port : The port number to connect to at the server host, by default PostgreSQL use
5432
c. Database Name: Database name that you want connect
d. User : Username for authenticate to PostgreSQL server
e. Password : Password for authenticate to PostgreSQL server
f. SSL : SSL Mode for connection to to PostgreSQL server
g. Schema : Default schema used on this connection
-
Make sure all parameter filled correctly.
-
After all field is fill, click Save Button.
Connect to MySQL
-
At External Data Source menu click Add Connection select MySQL
-
Fill the parameter a. Host : Host is network address of the machine where the MySQL server is running. It could be an IP address or a domain name
b. Port : The port number to connect to at the server host, by default MySQL use
3306
c. Database Name: Database name that you want connect
d. User : Username for authenticate to MySQL server
e. Password : Password for authenticate to MySQL server
-
Make sure all parameter filled correctly.
-
After all field is fill, click Save Button.
Connect to MariaDB
-
At External Data Source menu click Add Connection select MariaDB
-
Fill the parameter a. Host : Host is network address of the machine where the MariaDB server is running. It could be an IP address or a domain name
b. Port : The port number to connect to at the server host, by default MariaDB use
3306
c. Database Name: Database name that you want connect
d. User : Username for authenticate to MariaDB server
e. Password : Password for authenticate to MariaDB server
-
Make sure all parameter filled correctly.
-
After all field is fill, click Save Button.
Test Connection
To test if all parameter is valid click Test Connection Button.
Success Connect Failed Connect
Troubleshoot
If you cannot connect to your database please whitelist our IP