ISSUES-10056 update docs

This commit is contained in:
zhang2014 2020-04-07 20:25:01 +08:00
parent 9ed708b902
commit aa0fcf4088
3 changed files with 4 additions and 8 deletions

View File

@ -3,7 +3,7 @@ toc_priority: 30
toc_title: MySQL
---
# Mysql {#mysql}
# MySQL {#mysql}
Allows to connect to databases on a remote MySQL server and perform `INSERT` and `SELECT` queries to exchange data between ClickHouse and MySQL.
@ -19,7 +19,7 @@ You cannot perform the following queries:
``` sql
CREATE DATABASE [IF NOT EXISTS] db_name [ON CLUSTER cluster]
ENGINE = MySQL('host:port', 'database', 'user', 'password')
ENGINE = MySQL('host:port', ['database' | database], 'user', 'password')
```
**Engine Parameters**

View File

@ -6,8 +6,6 @@
Не поддерживаемые виды запросов:
- `ATTACH`/`DETACH`
- `DROP`
- `RENAME`
- `CREATE TABLE`
- `ALTER`
@ -16,7 +14,7 @@
``` sql
CREATE DATABASE [IF NOT EXISTS] db_name [ON CLUSTER cluster]
ENGINE = MySQL('host:port', 'database', 'user', 'password')
ENGINE = MySQL('host:port', ['database' | database], 'user', 'password')
```
**Параметры движка**

View File

@ -7,8 +7,6 @@ MySQL引擎用于将远程的MySQL服务器中的表映射到ClickHouse中
但您无法对其执行以下操作:
- `ATTACH`/`DETACH`
- `DROP`
- `RENAME`
- `CREATE TABLE`
- `ALTER`
@ -17,7 +15,7 @@ MySQL引擎用于将远程的MySQL服务器中的表映射到ClickHouse中
``` sql
CREATE DATABASE [IF NOT EXISTS] db_name [ON CLUSTER cluster]
ENGINE = MySQL('host:port', 'database', 'user', 'password')
ENGINE = MySQL('host:port', ['database' | database], 'user', 'password')
```
**MySQL数据库引擎参数**