Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import-config-module ignores input-port-number (SQL Server) #549

Open
snsb-seifert opened this issue Jan 10, 2023 · 0 comments
Open

import-config-module ignores input-port-number (SQL Server) #549

snsb-seifert opened this issue Jan 10, 2023 · 0 comments
Labels
bug Issue type

Comments

@snsb-seifert
Copy link

An input configuration yml file generated with the input-config-module as export-module contains the correct input-port-number parameter.
Using this configuration yml file as input with the imput-config-module ignores the input-port-number when connecting to the database.

Steps required to reproduce the bug:

Using SQLServer:

java -jar "-Dfile.encoding=UTF-8" dbptk-app-2.11.0-SNAPSHOT.jar migrate --import microsoft-sql-server --import-server-name=servername --import-port-number=12345 --import-database="the_database" --import-disable-encryption --import-username=snsb --import-password="AllSymbolsHere" --export import-config --export-file=example.siard.yml
The config file eample.siard.yml is written and the port is correct in this file.

java -jar "-Dfile.encoding=UTF-8" dbptk-app-2.11.0-SNAPSHOT.jar migrate --import import-config --import-file=example.siard.yml --export siard-2 --export-file=example.siard2 --export-pretty-xml

Tries to connect with the default port-number 1433

@luis100 luis100 added the bug Issue type label Jan 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue type
Projects
Status: No status
Development

No branches or pull requests

2 participants