Pentaho数据集成:连接到数据库时出错:使用类org.gjt.mm.mysql.Driver

时间:2013-05-16 04:09:36

标签: mysql jdbc pentaho data-integration

我收到此错误,但我在Pentaho \ data-integration \ libext \ JDBC中有我的mysql-connector-java-5.1.23-bin.jar。似乎连接器未加载,因为它使用默认连接器。我尝试过不同版本的jdbc,我检查过MD5,并且我在同一个文件夹中没有相同驱动程序的其他版本。我非常渴望能够完成这项工作,任何建议都值得赞赏。

这是我尝试写入数据库时​​的输出:

2013/05/16 01:00:38 - Salida Tabla.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : An error occurred intialising this step: 
2013/05/16 01:00:38 - Salida Tabla.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Couldn't execute SQL: TRUNCATE TABLE bd_evu.ids_Codigos
2013/05/16 01:00:38 - Salida Tabla.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 
2013/05/16 01:00:38 - Salida Tabla.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Could not retrieve transation read-only status server
2013/05/16 01:00:38 - Salida Tabla.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inicializando el paso [Salida Tabla]
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : An error occurred intialising this step: 
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error occured while trying to connect to the database
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : 
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error connecting to database: (using class org.gjt.mm.mysql.Driver)
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Could not retrieve transation read-only status server
2013/05/16 01:00:38 - Salida Tabla 2.0 - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : Error inicializando el paso [Salida Tabla 2]
2013/05/16 01:00:38 - Zona - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ¡No se ha podido inicializar el paso [Salida Tabla.0]!
2013/05/16 01:00:38 - Zona - ERROR (version 4.4.0-stable, build 17588 from 2012-11-21 16.02.21 by buildguy) : ¡No se ha podido inicializar el paso [Salida Tabla 2.0]!
2013/05/16 01:00:38 - Entrada Tabla.0 - Finished reading query, closing connection.

1 个答案:

答案 0 :(得分:0)

您确定服务器端不是问题吗?您是否可以使用相同的凭据/驱动程序连接到该数据库并使用SquirrelSQL或其他SQL工具手动截断该表?还要确保从运行PDI的同一主机连接,也许有一些主机特定的权限/限制。