This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new a7e7df658c [Doc] update FAQ about ODBC (#11263) a7e7df658c is described below commit a7e7df658cc9a1d438fa2a266a8928b37ebd1032 Author: TengJianPing <18241664+jackte...@users.noreply.github.com> AuthorDate: Fri Jul 29 19:18:28 2022 +0800 [Doc] update FAQ about ODBC (#11263) --- docs/en/docs/faq/install-faq.md | 4 +++- docs/zh-CN/docs/faq/install-faq.md | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/en/docs/faq/install-faq.md b/docs/en/docs/faq/install-faq.md index fcc98aa567..311b0cf8d1 100644 --- a/docs/en/docs/faq/install-faq.md +++ b/docs/en/docs/faq/install-faq.md @@ -289,7 +289,9 @@ In doris 1.0 onwards, openssl has been upgraded to 1.1 and is built into the dor ``` ERROR 1105 (HY000): errCode = 2, detailMessage = driver connect Error: HY000 [MySQL][ODBC 8.0(w) Driver]SSL connection error: Failed to set ciphers to use (2026) ``` -The solution is to use the `Connector/ODBC 8.0.28` version of ODBC Connector and select `Linux - Generic` in the operating system, this version of ODBC Driver uses openssl version 1,1. For details, see the [ODBC exterior documentation](../ecosystem/external-table/odbc-of-doris.md) +The solution is to use the `Connector/ODBC 8.0.28` version of ODBC Connector and select `Linux - Generic` in the operating system, this version of ODBC Driver uses openssl version 1.1. Or use a lower version of ODBC connector, e.g. [Connector/ODBC 5.3.14](https://dev.mysql.com/downloads/connector/odbc/5.3.html). For details, see the [ODBC exterior documentation](../ecosystem/external-table/odbc-of-doris.md). + + You can verify the version of openssl used by MySQL ODBC Driver by ``` ldd /path/to/libmyodbc8w.so |grep libssl.so diff --git a/docs/zh-CN/docs/faq/install-faq.md b/docs/zh-CN/docs/faq/install-faq.md index f1e688ddf6..f3adee6030 100644 --- a/docs/zh-CN/docs/faq/install-faq.md +++ b/docs/zh-CN/docs/faq/install-faq.md @@ -285,9 +285,10 @@ cp fe-core/target/generated-sources/cup/org/apache/doris/analysis/action_table.d ``` ERROR 1105 (HY000): errCode = 2, detailMessage = driver connect Error: HY000 [MySQL][ODBC 8.0(w) Driver]SSL connection error: Failed to set ciphers to use (2026) ``` -解决方式是使用`Connector/ODBC 8.0.28` 版本的 ODBC Connector, 并且选择 在操作系统处选择 `Linux - Generic`, 这个版本的ODBC Driver 使用 openssl 1.1 版本。具体使用方式见 [ODBC外表使用文档](../ecosystem/external-table/odbc-of-doris.md) +解决方式是使用`Connector/ODBC 8.0.28` 版本的 ODBC Connector, 并且在操作系统处选择 `Linux - Generic`, 这个版本的ODBC Driver 使用 openssl 1.1 版本。或者使用低版本的ODBC Connector,比如[Connector/ODBC 5.3.14](https://dev.mysql.com/downloads/connector/odbc/5.3.html)。具体使用方式见 [ODBC外表使用文档](../ecosystem/external-table/odbc-of-doris.md)。 + 可以通过如下方式验证 MySQL ODBC Driver 使用的openssl 版本 ``` ldd /path/to/libmyodbc8w.so |grep libssl.so ``` -如果输出包含 `libssl.so.10` 则使用过程中可能出现问题, 如果包含`libssl.so.1.1` 则与doris 1.0 兼容 +如果输出包含 `libssl.so.10` 则使用过程中可能出现问题, 如果包含`libssl.so.1.1` 则与doris 1.0 兼容。 --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org