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

(localdb)\MSSQLLocalDB connection string url #1192

Open
Liero opened this issue Nov 7, 2024 · 0 comments
Open

(localdb)\MSSQLLocalDB connection string url #1192

Liero opened this issue Nov 7, 2024 · 0 comments

Comments

@Liero
Copy link

Liero commented Nov 7, 2024

Is the MS SQL Server (localdb) supported?

I want to run CLI against following connection: Server=(localdb)\MSSQLLocalDB;Database=Test;Trusted_Connection=True;

I tried:

migrate -path=C:/migrations/ -database='sqlserver://user:password@(localdb)/MSSQLLocalDB?Database=Test' up
error: failed to open database, "sqlserver://user:password@(localdb)/MSSQLLocalDB?Database=Test": no instance matching 'MSSQLLocalDB' returned from host '(localdb)'

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

1 participant