This document provides instructions on how to connect to different types of databases using Data Source Names (DSNs) in our project.
[database_type]://[username]:[password]@[host]:[port]/[database_name]
postgres://[username]:[password]@[host]:[port]/[database_name]
mysql://[username]:[password]@[host]:[port]/[database_name]
snowflake://[username]:[password]@[host]/[database_path]
See this article for more examples on linking a snowflake db to Dataline.
mssql://[username]:[password]@[host]:[port]/[database_name]?driver=[driver_name]&TrustServerCertificate=yes
Example driver_name
: ODBC+Driver+18+for+SQL+Server
. Note that spaces are replaced by plus signs +
.
Make sure the driver you specify in the DSN is installed locally on the device running Dataline. Driver installation instructions can be found here.
You can simply upload the file into Dataline when creating a new connection!