- DDL
- Configuration file
Setting fields:
The
table and query fields cannot be used together. And either one of the table or query fields must be declared.Known Vulnerability of the ODBC Dictionary Functionality
When connecting to the database through the ODBC driver connection parameter
Servername can be substituted. In this case values of USERNAME and PASSWORD from odbc.ini are sent to the remote server and can be compromised./etc/odbc.ini:
USERNAME and PASSWORD from odbc.ini to some-server.com.
Example of Connecting Postgresql
Ubuntu OS. Installing unixODBC and the ODBC driver for PostgreSQL:/etc/odbc.ini (or ~/.odbc.ini if you signed in under a user that runs ClickHouse):
- DDL
- Configuration file
You may need to edit
odbc.ini to specify the full path to the library with the driver DRIVER=/usr/local/lib/psqlodbcw.so.
Example of Connecting MS SQL Server
Ubuntu OS. Installing the ODBC driver for connecting to MS SQL:- to determine the earliest TDS version that is supported by a particular SQL Server version, refer to the product documentation or look at MS-TDS Product Behavior
- DDL
- Configuration file