Kettle——初学者参考的资料

来源:互联网 发布:java web 图书馆管理 编辑:程序博客网 时间:2024/05/23 13:14

使用spoon(verison 6)2建立 MySQL的连接,使用mysql好像是5.5版本(sql server、oracle类似复制驱动程序包)

第一个问题:驱动

找到mysql的驱动放到libswt ....win64下面。驱动文件名****mysql***bin.jar文件

第二个问题:资源库

资源库creat and update时对r_version中最后一个字段好像叫update(就是判断是否是更新那个字段)操作时出错,出错原因mysql建立表时,这个字段为tinyinteger(大概是这个类型),插入数值为‘Y’。解决方法:进入mysql修改r_version最后字段类型为varchar。不能完全解决但是凑合能用了

第三个问题:提示

he version of the repository is -1.-1.This Kettle edition requires it to be at least version 5.0 and as such an upgrade is required.To upgrade, backup your database and export the repository to XML for additional safety.Then select the 'Edit' button followed by the 'Create or Upgrade' button.Please consult the Upgrade Guide for eventually special instructions for this versio
应该是读取上面这个表有问题,插入一条记录,1,5,1,2019/9/9,‘Y'

应该可以解决。

第四个问题admin密码密码错误,无法登录

其实这个是第一个问题,根本无法写入ktr,kjb文件到库里面,原因应该是r_user这个表没有插入数据,手动添加1,admin,....admin....,将密码自动跳过,不设置密码,这样就可以连接资源库了。

以上参考内容,来自http://blog.csdn.net/caozhenyu/article/details/51799579

0 0
原创粉丝点击