前段时间写了个 mysqldbcenter 的 架构图 也准备把细节点公布
具体工具 mysql ,ssis ,mysql odbc 5.1 driver
mysqldbcenter 的架构
http://www.cnblogs.com/xwj1985/archive/2010/04/02/1703121.html
先在 mssql 上面建立个配置表
/* mysql configure table */
create table dc_mysqldbcenterconfig
(id int identity(1,1),
hostname sysname,
port int default(3306),
isactive tinyint
)
insert into dc_mysqldbcenterconfig(hostname,isactive)
select '192.168.238.11',1;
insert into dc_mysqldbcenterconfig(hostname,isactive)
select '192.168.238.12',1;
insert into dc_mysqldbcenterconfig(hostname,isactive)
select '192.168.238.13',1;
父包变量
父包
tsql_countact
TSQL_CIGBAK
把用户和密码封装在 script. 脚本组件里面
多台 mysql 相同用户和密码 权限也相同
把行存放在记录集 里面 变量类型为 object
子包
子包采取父变量包配置
分别把mysql 和 information connect 通过字符串拼写在一起 再映射到 expression
子包的数据流 把数据流验证选项 设置为 延后验证
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16436858/viewspace-662037/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/16436858/viewspace-662037/