2013-05-16 54 views
0

我得到这个错误,但我有我的mysql-connector-java-5.1.23-bin.jar在Pentaho \ data-integration \ libext \ JDBC。看起来连接器没有加载,因为它使用了默认的连接器。我已经尝试过不同版本的jdbc,我已经检查过MD5,并且在同一个文件夹中没有其他版本的相同驱动程序。我非常渴望做这个工作,任何建议表示赞赏。Pentaho数据集成:连接到数据库时出错:使用类org.gjt.mm.mysql.Driver

这是当我尝试写入数据库输出:

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. 

回答

0

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