Project: talenddataquality
Issue TDQ-6207: lost imported connection
Have a 5.2 workspace with some mysql and hive connections and analyses. Make sure that the password of root of your mysql database is a private password (avoid toor, root...) Then import the items from TDQ-6194 https://jira.talendforge.org/secure/attachment/47671/table_analysis_with_join_condition.zip Open the analysis TableAnalysis_with_JoinCondition Go in the results tab and right click on the #match: First, we got the following exception java.lang.RuntimeException: java.lang.RuntimeException: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES) which is expected, but there should be a pop-up to warn the user. Second, edit the connection item and set the correct password. Save and go back to the analysis. The exception still exists. Close the analysis and reopen the analysis. I've got several exceptions and the connection is lost. It's not anymore in my repository. I've checked the filesystem. The connection is not here. It has been deleted! java.sql.SQLException: Invalid URL: jdbc:mysql://localhost:3306/my_person_joins?noDatetimeStringSync=true org.apache.hadoop.hive.jdbc.HiveConnection.(HiveConnection.java:67) org.apache.hadoop.hive.jdbc.HiveDriver.connect(HiveDriver.java:104) java.sql.DriverManager.getConnection(DriverManager.java:582) Why do we try to connection with the Hive driver to a mysql connection? java.lang.RuntimeException: java.lang.RuntimeException: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'my_person_joins' org.talend.core.model.metadata.builder.database.ExtractMetaDataUtils.getConnection(ExtractMetaDataUtils.java:655) Now the connection is deleted. See attached log for more details. Build: Talend-Studio-r90934-V5.2.0NB
Story points: 8