Help wanted!
The following content of this documentation page has been machine-translated. But unlike other websites, it is not done on the fly. This translated text lives on GitHub repository alongside main ClickHouse codebase and waits for fellow native speakers to make it more human-readable. You can also use the original English version as a reference.
MySQLインタ
ClickHouseはMySQL wire protocolをサポートしています。 で有効にすることができる mysql_port 設定ファイルでの設定:
<mysql_port>9004</mysql_port>
コマンドラインツールを使用した接続例 mysql
:
$ mysql --protocol tcp -u default -P 9004
接続が成功した場合の出力:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 4
Server version: 20.2.1.1-ClickHouse
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
との互換性を維持するため、すべてのMySQLのお客様におすすめで指定ユーザのパスワード ダブルSHA1 設定ファイル。
場合は、ユーザのパスワードが指定 SHA256 一部のクライアントは認証できません(mysqljsおよび古いバージョンのコマンドラインツールmysql)。
制限:
-
作成問合せには対応していない
-
一部のデータ型は文字列として送信されます