Connect data
Database connections
Connect the databases and warehouses your reports read from.
Supported databases
| Type | Databases |
|---|---|
| Relational | PostgreSQL, MySQL, Microsoft SQL Server |
| Warehouses | Snowflake, Google BigQuery, Amazon Redshift |
| Analytics engines | ClickHouse, StarRocks, Trino |
To report on a spreadsheet, upload it as a CSV file. The file is loaded into a connection that has CSV upload switched on.
Add a connection
Connections live in Data Studio, under Databases.
Add a connection and pick the database type.
Enter the host, port, database name, username and password. Switch on SSL if your database requires it. You can give a connection URI instead of separate fields.
Test the connection. Vizset reports whether it could sign in to the database.
Save.
Tip
Create a database user for Vizset that can only read the schemas you want to report on. Reports never need more than read access.
If your database sits behind a firewall, it has to accept connections from Vizset. Email hello@vizset.io for the details to allow.
What a connection allows
Each connection has its own switches, so a production database can be stricter than a sandbox.
| Option | What it controls |
|---|---|
| Available in SQL Query | Whether people can run their own SQL against this connection. |
| CSV upload | Whether CSV files can be loaded into this database. |
| Create tables or views from a query | Whether a query result can be saved as a new table or view. |
| Statements that change data | Whether INSERT, UPDATE and DELETE statements are allowed. |
| Statements that change structure | Whether CREATE, ALTER and DROP statements are allowed. |
Leave the last three off unless you have a reason to turn them on.
Explore a connection
Once a connection is saved you can browse its schemas and tables, see each table's columns, indexes and foreign keys, and preview its rows. That is usually enough to decide which tables become datasets.
Move connections between workspaces
Connections can be exported to a file and imported into another workspace, along with the datasets, visuals and reports built on them. Use Import on the list pages.