The DronaHQ Dashboard offers support for a wide range of databases. If you have the SQLAlchemy URI connection string for a database, you can easily connect it to the DronaHQ Dashboard. Additionally, if you possess an archived database file (e.g., ZIP), you can directly import it to the dashboard.
Some databases might require additional configuration details for connection. For instance, Google Sheets requires authentication via JSON, while Trino necessitates warehouse parameters.
This document provides detailed instructions on how to connect various types of databases to the DronaHQ Dashboard.
To connect a database, start by selecting + Database on the DronaHQ Dashboard. Then, in the Connect a Database window, choose the database you want to connect to from the Supported Databases field.
Aurora MySQL (Data API). Pick a name to help you identify this database.
SQLAlchemy URI
mysql+auroradataapi://{aws_access_id}:{aws_secret_access_key}@/{database_name}?aurora_cluster_arn={aurora_cluster_arn}&secret_arn={secret_arn}®ion_name={region_name} Refer to the SQLAlchemy docs for more information on structuring your URI.
Aurora PostgreSQL (Data API). Pick a name to help you identify this database.
SQLAlchemy URI
postgresql+auroradataapi://{aws_access_id}:{aws_secret_access_key}@/{database_name}?aurora_cluster_arn={aurora_cluster_arn}&secret_arn={secret_arn}®ion_name={region_name} Refer to the SQLAlchemy docs for more information on structuring your URI.
Performance settings ensure optimal database interaction and response times:
Chart Cache Timeout: Define the caching timeout duration for charts in seconds. A timeout of 0 indicates the cache never expires, while -1 bypasses the cache entirely. If undefined, it defaults to the global timeout.
Schema Cache Timeout: Set the metadata caching timeout for schemas in seconds. Leaving it unset means the cache never expires.
Table Cache Timeout: Define the metadata caching timeout for tables in seconds. If unset, the cache never expires.
Asynchronous Query Execution: Enable asynchronous execution of queries to enhance performance.
Cancel Query on Window Unload Event: Automatically cancel queries when the browser window is closed.
Security settings add extra layers of connection information and control:
Secure Extra: Provide additional connection configuration as a JSON string. This is particularly useful for systems like Hive, Presto, and BigQuery, which do not conform to the standard username:password syntax.
Root Certificate: Enter CA_BUNDLE contents to validate HTTPS requests. This option is available for certain database engines.
Impersonate Logged-In User: Allow impersonation of the logged-in user for specific databases like Presto, Trino, Drill, Hive, and Google Sheets.
Allow File Uploads to Database: Enable the ability to upload files directly to the database.
If you have an archived database connection file (e.g., ZIP), then you can import it directly to DronaHQ Dashboard. The steps are similar to adding a database, just in place of selecting a database you have to select the Import Datbase from File option and it will open a window to upload files from your system.
Overwrite Warning
If you are importing a file for a database that already exists, you will be prompted to confirm the process by entering the word overwrite before selecting Connect.
Go to the list of connectors already connected in dashboard and select the export option to export the particular database in an archived database connection file (e.g., ZIP).