Our Databases data source currently supports MySQL, MariaDB, PostgreSQL, Amazon Redshift, Snowflake, and Microsoft SQL Server databases. If you're looking for another type of database, request support for it.
Database requirements checklist
Prepare your database for connecting to Geckoboard by running through each step below:
Verify that your database is running correctly and is accessible online. To do so, run the following command on a computer not logged into your VPN or private network. If the connection succeeds, your database will be accessible online. If it fails, it will not be.
Replace
your_db_host
andyour_db_port
with the host and port of your database:Linux or OSX:
nc -v your_db_host your_db_port
Windows:
telnet your_db_host your_db_port
Ensure your database accepts connections from these Geckoboard IP addresses:
23.23.205.140
50.16.244.16
54.204.39.96
54.243.225.101
54.243.235.136
54.243.235.173
Ensure that TLS encryption is enabled. Connections between Geckoboard and your database will be encrypted, so TLS encryption must be enabled.
For MariaDB, TLS is disabled by default. Check if it's enabled by running the command
SHOW VARIABLES LIKE '%ssl%';
. Learn more about how to enable TLS for MariaDB.
Ensure the user account being connected has read-only permissions. Geckoboard only allows
SELECT
queries, however, for extra security, we only accept connections from users with read-only access to your database.
🦎 If your database doesn't allow TLS connections or is not accessible online, we recommend these alternative methods.
How to connect a database
To create a connection to your database, follow these steps:
On the Connect to Database panel, choose a Database type.
Type in the Connection name. Give it a memorable name that helps you remember this connection.
Type in the Host (this could be your Public IP) and Port. By default, the port is set to 5432.
The Host needs to be a publicly accessible address. We cannot connect to a database on localhost (127.0.0.1
).For Snowflake databases, enter your Account and Warehouse.
Type in the Database name.
Type in the database Username and Password.
Click Connect.