kettle mysql连接出错
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了kettle mysql连接出错相关的知识,希望对你有一定的参考价值。
错误连接数据库 [mysql] : org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the database Error connecting to database: (using class org.gjt.mm.mysql.Driver) java.lang.NullPointerException org.pentaho.di.core.exception.KettleDatabaseException: Error occured while trying to connect to the
错误连接数据库 [MySQL] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
java.lang.NullPointerException
org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database
Error connecting to database: (using class org.gjt.mm.mysql.Driver)
java.lang.NullPointerException
主机名 : localhost 端口 : 3306 数据库名:test
这个问题,我碰到过!
1、将对应的mysql驱动包(mysql-connector-java-5.1.15-bin.jar)放到下kettle的目录:
data-integration\\libext\\JDBC下。
2、如果第1步正常,你可以打开MYSQL远程管理权限
GRANT ALL PRIVILEGES ON *.* TO ' 用户名'@'%' identified by '密码 ';
@后面这样的吗 192.168.1.%
【希望可以帮到你】
以上是关于kettle mysql连接出错的主要内容,如果未能解决你的问题,请参考以下文章