ClickHouse/docs/ja/interfaces/mysql.md
Ivan Blinkov d91c97d15d
[docs] replace underscores with hyphens (#10606)
* Replace underscores with hyphens

* remove temporary code

* fix style check

* fix collapse
2020-04-30 21:19:18 +03:00

50 lines
1.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
machine_translated: true
machine_translated_rev: d734a8e46ddd7465886ba4133bff743c55190626
toc_priority: 20
toc_title: "MySQL\u30A4\u30F3"
---
# MySQLイン {#mysql-interface}
ツつィツ姪“ツつ”ツ債ツづュツつケ これは次の方法で有効にできます [mysql\_portgenericname](../operations/server-configuration-parameters/settings.md#server_configuration_parameters-mysql_port) 設定ファイルでの設定:
``` xml
<mysql_port>9004</mysql_port>
```
コマンドラインツールを使用した接続例 `mysql`:
``` bash
$ mysql --protocol tcp -u default -P 9004
```
接続が成功した場合の出力:
``` text
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](../operations/settings/settings-users.md#password_double_sha1_hex) 構成ファイルで。
ユー [SHA256](../operations/settings/settings-users.md#password_sha256_hex) いくつかのクライアントは認証できませんmysqljsと古いバージョンのコマンドラインツールmysql
制限:
- 作成問合せには対応していない
- 一部のデータ型は文字列として送信されます
[元の記事](https://clickhouse.tech/docs/en/interfaces/mysql/) <!--hide-->