ODBC
Connect & Extract data from databases via Open Database Connectivity (ODBC)
Setup
# SQL Server
brew install microsoft/mssql-release/msodbcsql18
# PostgreSQL
brew install psqlodbc
# MySQL
brew install mysql-connector-odbc# SQL Server
curl https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list)"
sudo apt-get update
sudo apt-get install msodbcsql18
# PostgreSQL
sudo apt-get install odbc-postgresql
# MySQL
sudo apt-get install libmyodbcConnection Properties
Custom Templates for Unsupported Drivers
Using sling conns
sling connsEnvironment Variable
Sling Env File YAML
Replication Example
Connection String Formats
DSN (Data Source Name)
DSN-less (Driver-based)
Troubleshooting
Driver Not Found
SQL Syntax Errors
Connection Timeout
Last updated
Was this helpful?