This project has moved and is read-only. For the latest updates, please go here.

Connecting to SQL Server from VS 2015 using PTVS

Feb 28, 2017 at 5:36 AM
I tried using an existing database but then i found this post. (
So, I moved on to try using the Visual Studio inbuilt SQL Server

I opened SQL Server Object Manager and created a new database
It shows that it exists in the "Users\usrname\AppData\Local\Microsoft\VisualStudio\SSDT\Logs.mdf" and that the server is "localdb)\ProjectsV13"

I'm not able to figure out how to use python code to connect to this database, or even which information to use. :This doesn't seem to work for me.