gpt4 book ai didi

mysql - 使用 MySql .net 连接器设置 SSIS 时出错

转载 作者:行者123 更新时间:2023-11-30 22:38:13 24 4
gpt4 key购买 nike

我正在尝试按照 http://www.ideaexcursion.com/2009/06/04/howto-connect-to-mysql-in-ssis/ 构建一个 SSIS 包.当我转到第 6 步时,一切正常。当我再次双击连接时,我遇到了以下错误。

注意

  1. 我正在使用 VS 2012 和 2010。两者都有相同的错误。
  2. 我为 Windows 安装了 MySql 安装程序 5.6.26 https://dev.mysql.com/downloads/installer/ .它包含 MySql .Net 连接器 6.9.6.0
  3. 我的 machine.config 在底部添加了 DbProviderFactories
  4. 我将 MySql.DataMySql.Data.Entity 添加到我的项目中。

===================================

Could not get provider invariant name from the connection type qualifier "MySql.Data.MySqlClient.MySqlConnection, MySql.Data, Version=6.9.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d". You may need to manually edit the 'Qualifier' property of the connection manager if the default one selected is different from what you want. (Microsoft Visual Studio)

<system.data>
<DbProviderFactories>
<remove invariant="MySql.Data.MySqlClient"/>
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d"/>
</DbProviderFactories>
</system.data>

最佳答案

在我的案例中,我缩小了错误日志的范围,结果证明这是由 SQL Server Compact 3.5 引起的问题。我去了https://support.microsoft.com/en-us/kb/974247并按照说明进行修复。

这只是我的情况。我看到其他一些关于相同错误的提示,我建议您也检查错误详细信息。

关于mysql - 使用 MySql .net 连接器设置 SSIS 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31811402/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com