dalibo / sqlserver2pgsql

Migration tool to convert a Microsoft SQL Server Database into a PostgreSQL database, as automatically as possible
http://dalibo.github.io/sqlserver2pgsql
GNU General Public License v3.0
515 stars 117 forks source link

Added sforce_ssl flag for Kettle #179

Closed vladdy-moses closed 1 year ago

vladdy-moses commented 1 year ago

In our case option EXTRA_OPTION_MSSQL.ssl=require is needed for SQL Server connection.

Without this option some errors occured:

2023/08/17 07:21:32 - org.pentaho.di.trans.steps.tableinput.TableInputMeta@2f1bf1c2 - Error occurred while trying to connect to the database
2023/08/17 07:21:32 - org.pentaho.di.trans.steps.tableinput.TableInputMeta@2f1bf1c2 - 
2023/08/17 07:21:32 - org.pentaho.di.trans.steps.tableinput.TableInputMeta@2f1bf1c2 - Connection failed. Verify all connection parameters and confirm that the appropriate driver is installed.
2023/08/17 07:21:32 - org.pentaho.di.trans.steps.tableinput.TableInputMeta@2f1bf1c2 - I/O Error: DB server closed connection.

Hence it may be useful for have some -sforce_ssl flag (like -pforce_ssl).

fljdin commented 1 year ago

Hi, thank you for submitting your patch. Could you please attach a few words in README about this new option? Regards, Florent

vladdy-moses commented 1 year ago

Done!