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

default the port number #660

Closed
gavinking opened this issue May 27, 2020 · 5 comments
Closed

default the port number #660

gavinking opened this issue May 27, 2020 · 5 comments
Labels

Comments

@gavinking
Copy link

Currently it's necessary to explicitly specify port numbers with ConnectOptions, but every database has a default port, so the default port should be implied.

@vietj
Copy link
Member

vietj commented May 27, 2020

if you use SqlConnectOptions subclasses then you get the right port by default.

This class used to be abstract and user have to create the right subclass in order to get the proper default. A recent PR changed that and now we get this wrong default.

There is currently a discussion to add a "database product name" to SqlConnectOptions.

@gavinking
Copy link
Author

Oh OK, so should I just close this issue then?

@vietj
Copy link
Member

vietj commented May 27, 2020

I think we keep it open for now

@gavinking
Copy link
Author

@vietj is this issue still relevant?

@vietj
Copy link
Member

vietj commented Jun 7, 2022

I think it cannot be resolved so we can close it. Other ways to create options should be used.

@vietj vietj closed this as completed Jun 7, 2022
@vietj vietj added invalid and removed enhancement labels Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants