Skip to content

SQL Server named instance database_url #92

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

Closed
spiralcb opened this issue Sep 22, 2023 · 2 comments
Closed

SQL Server named instance database_url #92

spiralcb opened this issue Sep 22, 2023 · 2 comments

Comments

@spiralcb
Copy link

Hello,

Very fun project, I'm trying it using SQL Server.

Could you give me an example of database_url for a SQL Server named instance with user and password please ?

Thanks in advance

@lovasoa
Copy link
Collaborator

lovasoa commented Sep 22, 2023

Hello and welcome to SQLPage !

Currently, SQLPage requires you to manually enter the port your database is listening on when connecting to a named sql server instance. See: #86

An example connection string would be mssql://username:password@localhost:2179/YourDatabaseName?instance=YourInstanceName, where you would replace 2179 with the port your instance is listening on, which you can find in the SQL Server configuration manager.

@lovasoa lovasoa closed this as completed Sep 22, 2023
@spiralcb
Copy link
Author

Thanks a lot, it wroks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants