data-integrations / database-plugins

Database plugins
Other
14 stars 30 forks source link

[PLUGIN-1728]Fix for connection arguments not getting updated. #473

Closed vikasrathee-cs closed 9 months ago

vikasrathee-cs commented 10 months ago

https://cdap.atlassian.net/browse/PLUGIN-1728

Problem you have encountered: When selecting MySQL driver and setting up a connection to DB there is no way to change connectTimeout and socketTimeout parameters. They are stuck at 20000 ms and specifying connection arguments won't take any effect.

What you expected to happen: Expect connection arguments to change according to user settings.

Steps to reproduce:

Add MySQL connection in Cloud Data Fusion

Fill all the fields like basic and credentials

Go to advanced part at the bottom of the page and fill connectTimeout and socketTimeout key-value pairs

Change host to not working ( localhost -> localhostt) to get the error code and see the connection string.

connectTimeout and socketTimeout should be 20000 both despite of user input.