2013-08-04 4 views
0

PDI 작업을 실행하는 동안 다음 오류가 발생했습니다. 장소에 mysql 드라이버가 있습니다 (libext/JDBC). 어떤 사람은 실패의 이유는 무엇이라고 말할 수 있습니까? DB에 연결하는 동안 오류가 발생 했는데도 내 DB가 작동 중이며 명령 프롬프트에서 액세스 할 수 있습니다.PDI 데이터베이스에 연결하는 중에 오류가 발생했습니다.

Error occured while trying to connect to the database 

Error connecting to database: (using class org.gjt.mm.mysql.Driver) 
Communications link failure 

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. 
ERROR 03-08 11:05:10,595 - stepname- Error initializing step [Update] 
ERROR 03-08 11:05:10,595 - stepname - Step [Update.0] failed to initialize! 
INFO 03-08 11:05:10,595 - stepname - Finished reading query, closing connection. 
ERROR 03-08 11:05:10,596 - stepname - Unable to prepare for execution of the transformation 
ERROR 03-08 11:05:10,596 - stepname - org.pentaho.di.core.exception.KettleException: 
We failed to initialize at least one step. Execution can not begin! 

감사

답변

2

이 혹시 장기 실행 쿼리인가? 또는; PDI 세계에서 변환의 시작 부분에서 단계가 시작되어 수행 할 작업을 기다리고 있기 때문에 net write timeout에 아무 것도 나타나지 않으면이 오류가 표시됩니다.

그렇다면 문제는 MySQL이 사용하는 시간 제한으로 인해 발생하며 10 분 기본값에서 자주 증가해야합니다.

여기를 참조하십시오 :

http://wiki.pentaho.com/display/EAI/MySQL

+0

codek, 당신은 adivse 수있는이 @ http://stackoverflow.com/questions/24427976/unable-to-get-vfs-file-object-for-filename – Surya