Kettle 5.2 缺少MySql驱动

这是报的错

错误连接数据库 [MySqlKettle] : org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver
 (jar file) is installed.org.gjt.mm.mysql.Driver


org.pentaho.di.core.exception.KettleDatabaseException:
Error occured while trying to connect to the database

Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver 
(jar file) is installed.org.gjt.mm.mysql.Driver


Caused by: org.pentaho.di.core.exception.KettleDatabaseException:
Driver class 'org.gjt.mm.mysql.Driver' could not be found, make sure the 'MySQL' driver 
(jar file) is installed.org.gjt.mm.mysql.Driver

    
Caused by: java.lang.ClassNotFoundException: org.gjt.mm.mysql.Driver
    
主机名       : localhost
端口           : 3306
数据库名:kettle


经过测试: 把mysql的驱动放到

       \pdi-ce-5.2.0.0-209\data-integration\lib下或

        \pdi-ce-5.2.0.0-209\data-integration\libswt\win64下【我的电脑是64位的】

重启之后即可解决这个问题。

重启之后,重启之后,重启之后。

你可能感兴趣的:(Kettle)