Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Clickhouse server with configured odbc for external connect to MS SQL SERVER

Notifications You must be signed in to change notification settings

hexhoc/Clickhouse_odbc_sql_server

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
1 Commit
 
 
 
 
 
 

Repository files navigation

Click house with ODBC to SQL Server

Click house server with a configured odbs driver to connect to the MS SQL server

Installation

  1. Configure odbc.ini file

  2. Perform docker build docker build --no-cache -t my/clickhouse-server -f clickhouse.dockerfile .

  3. Next perform docker run docker run -d --name ch-server -p 8123:8123 -p 9000:9000 --ulimit nofile=262144:262144 --volume=E:/docker/clickhouse/databases:/var/lib/clickhouse my/clickhouse-server

  4. If you need create a new user, then 3.1. open file \etc\clickhouse-server\users.xml and uncommented next line - <access_management>1</access_management> 3.2. print "clickhouse-client" in docker bash 3.3. print CREATE USER IF NOT EXISTS user1 IDENTIFIED WITH plaintext_password BY 'pass1'

  5. Make fun. For example you can use next query SELECT col1 FROM odbc('DSN=mssql;uid=sa;Pwd=root;MARS_Connection=Yes;', 'tablename')

About

Clickhouse server with configured odbc for external connect to MS SQL SERVER

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.