Last active
October 19, 2017 17:01
-
-
Save vhaldemar/eb51f28207412ed6128d710a1704c064 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [12]: from clickhouse_driver import Client | |
In [13]: client = Client(host='<my_host>', port=8123, user='<..>', password='<...>') | |
In [14]: client.execute(query) | |
<...> | |
~/.virtualenvs/<...>/local/lib/python2.7/site-packages/clickhouse_driver/connection.pyc in connect(self) | |
140 self.disconnect() | |
141 raise errors.NetworkError( | |
--> 142 '{} ({})'.format(e.strerror, self.get_description()) | |
143 ) | |
144 | |
NetworkError: Code: 210. Name or service not known (<my_host>:8123) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment