但是,“需要 SSL”选项出现在 Tableau Desktop 中。
Tableau Prep 暂时不支持 SSL。
考虑可能的解决方法:使用 xml TDC 文件来设置 SSL。
步骤如下所示:
1.关闭 Tableau Prep,创建包含以下内容的文本文件,并将文件重命名为“mysql.tdc”。(粗体部分需要更改)。
注意 1:“版本”是安装在您的终端上的 MySQL 驱动程序的版本。
注意 2:“值”是您需要添加的 SSL 信息。
========
<?xml version='1.0' encoding='utf-8' ? >
<connection-customization class='mysql' enabled='true' version='8.0.27'>
<vendor name='mysql' />
<driver name='mysql' />
<customizations>
<customization name='odbc-connect-string-extras' value='SSLKEY={C:\MySQL_SSL\client-key.pem};SSLCERT={C:\MySQL_SSL\client-cert.pem};SSLCA={C:\MySQL_SSL\ca-cert.pem}'/>'
</customizations>.
</connection-customization>
========
2. 将“mysql.tdc”移动到“C:\ Users\<UserName>\Documents\My Tableau Prep Repository\Datasources”。
3. 打开 Tableau Prep 并连接到 MySQL。
注意:Tableau 不测试也不支持 .tdc 文件。
001458399

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.