question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(localdb) support?

See original GitHub issue

Hi, is there any support to connect to a localdb SQL Server instance? I have tried:

var config = {
    server: 'localhost\\ProjectsV12'
};

var config = {
    server: '(localdb)\\ProjectsV12'
}

var config = {
    server: '(localdb)',
    options: {
         instanceName : "ProjectsV12"
    }
}

None of them work 😞

Thank you!

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
tracker1commented, Sep 8, 2016

You need to configure your local sql to support socket connections, I don’t have access to a windows machine with sql at work or I’d give more detailed instructions on adjusting that setting, you should be able to do it via the sql configuration app. You’ll want to configure your firewall to only allow local connections to SQL. Also, apparently UDP port 1444 is apparently used for establishing an instance connection (in addition to tcp 1433).

iirc that’s the only interface supported by tedious, then you can connect via tcp to localhost.

var config = {
    server: 'localhost',
    options: {
         instanceName : "ProjectsV12"
    }
}
0reactions
dhensbycommented, Mar 8, 2019

this looks to be a driver issue and not for us to solve.

Read more comments on GitHub >

github_iconTop Results From Across the Web

SQL Server Native Client Support for LocalDB - Microsoft Learn
Learn how to connect to a database in a LocalDB instance, which is a lightweight version of SQL Server that is supported by...
Read more >
Microsoft SQL Server LocalDB | GoLand Documentation
This command creates an instance of LocalDB named DEVELOPMENT by using SQL Server 2017 binaries and starts the instance. If you omit 15.0...
Read more >
What is LocalDB? - SQLCoffee.com
It supports stored procedures, geometry and geography data types, triggers, views. bullet LocalDB uses the same sqlservr.exe as other editions of SQL Server...
Read more >
SQL Server Express LocalDB | notes on end user computing
LocalDB is a lightweight version of Express that has all its programmability features, yet runs in user mode and has a fast, zero-configuration ......
Read more >
Investigating SQL Server LocalDB installation when working ...
Install it. Note: If the database error message persists when starting Advance Steel product, contact Support and open a Technical support ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found