ssis是否支持 mysql作为目的库来接受数据。

lilinew 2010-01-30 07:34:02
我建立一个ssis工程 现在的要求把不同机器 的2个mysql数据库之间进行数据移植

我的组件选择如下
源数据库:source data reader我解决用ado.net连接 成功
目的数据库:destination data reader 死活不知道如何配置

但是ssis好像不支持 mysql作为目的来接受数据。

死活找不到 如何让destination data reader 接受来自source data reader的数据

清问ssis是否支持
...全文
680 16 打赏 收藏 转发到动态 举报
写回复
用AI写文章
16 条回复
切换为时间正序
请发表友善的回复…
发表回复
lilinew 2010-02-09
  • 打赏
  • 举报
回复
任务是把sqlserver2008 的表数据 (该表有一个image字段) 导到 mysql5
使用2008的 ssis工具。

源数据库工具 用的是sqlserver 数据源
目标数据库工具 用的是ADO NET Destination (odbc 链接mysql)

1 发现有错误,这个image字段无法在ADO NET Destination 进行映射。
2 屏蔽image字段以后。可以编译通过。但是执行这个包后 发现数据不能导入 ,提示以下错误:

发现还是有错误如下 ::
supports it.

[ADO NET Destination [95]] Error: An exception has occurred during data insertion, the message returned from the provider is: ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.0.37-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"cfile" ("Filename", "Title", "Dsc", "Tags", "Guid", "AdminFolderPath", "Extenti' at line 1


[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (95) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (98). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.


Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
lilinew 2010-02-08
  • 打赏
  • 举报
回复
sql2008 用的是ADO NET Destination
发现还是有错误如下 ::
supports it.

[ADO NET Destination [95]] Error: An exception has occurred during data insertion, the message returned from the provider is: ERROR [42000] [MySQL][ODBC 5.1 Driver][mysqld-5.0.37-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"cfile" ("Filename", "Title", "Dsc", "Tags", "Guid", "AdminFolderPath", "Extenti' at line 1


[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "ADO NET Destination" (95) failed with error code 0xC020844B while processing input "ADO NET Destination Input" (98). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.


Warning: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

错误如上
Ray_Zhang 2010-02-03
  • 打赏
  • 举报
回复
感觉上应该可以建odbc 数据源吧,去下一个mysql的odbc驱动,就可以了, 直接用DataReader Destination就可以吧
徐明勋 2010-02-03
  • 打赏
  • 举报
回复
如何这样 sql2005 是无法解决这个问题拉 ???
lilinew 2010-02-03
  • 打赏
  • 举报
回复
感谢指点 一不小心 又过时
我当前系统是xp 网上有人所职能装 2008的 开发板(个人版)想知道个人版有那个“ADO Net目标 “的功能项目没有???
lilinew 2010-02-03
  • 打赏
  • 举报
回复
请楼上帮助我看看 2008 如何把 sqlserver的 image字段 转化为 mysql的什么字段
2008 能否在xp上安装嘛 ???
goumaohua 2010-02-03
  • 打赏
  • 举报
回复
[Quote=引用 9 楼 liyihongcug 的回复:]
"在数据流任务的 目标 中选择“ADO Net目标 ”,在“ADO Net 目标编辑器”中,就可以正常操作了"

我这个版本的没有 这个选项拉

data flow destincations:  (list are below)
Pointer
Data mining Model..
DataReader Deatination
Dimension Processing
Excel Destination
Flat destination
OLE DB destination
Partition processing
Raw File destination
Recordset destination
SQlserver destination
Sqlserver mobile destination

为设么会没有你说的 那个  “数据流任务的 目标 中选择“ADO Net目标 ”,在“ADO Net 目标编辑器”中,就可以正常操作”
我的是 2005  ssis.
[/Quote]

哦,我用的是2008 SSIS,没有注意2005中是否有这项。
liangCK 2010-02-02
  • 打赏
  • 举报
回复
脚本组件,自定义数据目标
lilinew 2010-02-02
  • 打赏
  • 举报
回复
"在数据流任务的 目标 中选择“ADO Net目标 ”,在“ADO Net 目标编辑器”中,就可以正常操作了"

我这个版本的没有 这个选项拉

data flow destincations: (list are below)
Pointer
Data mining Model..
DataReader Deatination
Dimension Processing
Excel Destination
Flat destination
OLE DB destination
Partition processing
Raw File destination
Recordset destination
SQlserver destination
Sqlserver mobile destination

为设么会没有你说的 那个 “数据流任务的 目标 中选择“ADO Net目标 ”,在“ADO Net 目标编辑器”中,就可以正常操作”
我的是 2005 ssis.
goumaohua 2010-02-02
  • 打赏
  • 举报
回复
与MySql 数据库交互,我认为ODBC最简单,基本上可以处理任何需求。
1、SSIS 服务器上安装MySql 驱动(注意32位与64位有差异)。
2、在控制面板上,创建ODBC数据源。
3、在数据流任务的 源 中选择“ADO Net 源”,在“ADO Net 源编辑器”中,“数据访问模式”栏选择:“SQL命令”(有时选择“表或者视图”会出错,不知道为什么,还没有研究)。
3、在数据流任务的 目标 中选择“ADO Net目标 ”,在“ADO Net 目标编辑器”中,就可以正常操作了。

 BS一下CSDN,发贴回贴都不能贴图片,很不方便,一个简单的问题,需要说一大堆废话。
lilinew 2010-02-02
  • 打赏
  • 举报
回复
可以详细说说该如何做 ???
lilinew 2010-02-01
  • 打赏
  • 举报
回复
源数据库:source data reader我解决用ado.net连接 成功 (我连接的是 mysql)
但是目的 死活不出现连接界面 (sqlserver2000 是支持的 异构数据库互导
反思ssis应该有这个能力作的

destination data reader 用绿色的线连接发现死活不能出现字段对照界面(甚至连目的库选择的栏目都没有----很怀疑ssis不支持开源的mysql?????
也肯嗯是不会用 ?)??
lilinew 2010-01-30
  • 打赏
  • 举报
回复
找了半天 是在没有办法 (回忆1年前的使用经历 直觉他没有这个能力)
难道ssis 和owb 一样 只能支持各自的db作为目的库 (当前ssis还好点 支持到文本 excel等)
(2个公司都不是专业的etl厂商 导致目的数据源不能换用其他的db)

其他最好的bi工具 informatica或者 datastage 是否支持 ???
lilinew 2010-01-30
  • 打赏
  • 举报
回复
源数据库:source data reader可以的

但是destination data reader 用绿色的线连接发现死活不能出现字段对照界面(甚至连目的库选择的栏目都没有----很怀疑ssis不支持开源的mysql?????
也肯嗯是不会用 ?)
ACMAIN_CHM 2010-01-30
  • 打赏
  • 举报
回复
应该可以啊,安装完ODBC驱动后,能否在SQL SERVER中直接访问MYSQL的表?

588

社区成员

发帖
与我相关
我的任务
社区描述
提出问题
其他 技术论坛(原bbs)
社区管理员
  • community_281
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧