ETL 工具中的明文身份验证

Clear text authentication in ETL tools

我正在尝试通过测试 Pentaho 和 Talend 来实现一些 ETL 过程。我们正在使用 MySQL 数据库,我们在其中使用明文身份验证进行连接。 https://dev.mysql.com/doc/refman/5.5/en/cleartext-authentication-plugin.html

我找不到任何使用此类身份验证的 PDI 或 Talend 插件或模块。有没有人用过类似的东西并且有任何解决方法?

非常感谢!

我会撇开这听起来不太安全的事实。也许你有一个我不知道的这样做的充分理由。

tMySQLOutput 组件中,转到 Advanced settings 选项卡,然后在 Additional JDBC parameters 中添加以下内容:"authenticationPlugins=mysql_clear_password"(带引号)。

(注意:我不确定参数值是否具有正确的语法。您可能需要进行更多挖掘才能找出答案)

理由:

1) 您发送的link有这一行:

The mysql, mysqladmin, and mysqlslap client programs support an --enable-cleartext-plugin option that enables the plugin on a per-invocation basis.

2) tMySQLOutput 允许将自定义参数发送到 JDBC 库。有关详细信息,请参见此处:https://help.talend.com/display/TalendComponentsReferenceGuide54EN/tMysqlOutput

3) MySQL 的 JDBC 库有一个身份验证插件参数。有关详细信息,请参见此处:(向下滚动到参数列表)https://dev.mysql.com/doc/connector-j/5.1/en/connector-j-reference-configuration-properties.html