Click here to Skip to main content
15,900,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using visual studio for Mac 2017 community edition.I was not able find the server explorer option to create a local db connection.

What I have tried:

I searched on google but could not get a proper solution
Posted
Updated 30-Oct-17 23:33pm
Comments
Kornfeld Eliyahu Peter 22-Oct-17 8:23am    
To what kind of db?
SijoXavier 31-Oct-17 5:25am    
Local db inside visual studio

Follow this: Use the Visual Studio Code mssql extension for SQL Server | Microsoft Docs[^]

Quote:
Visual Studio Code is a graphical code editor for Linux, macOS, and Windows that supports extensions. The mssql extension for VS Code enables you to connect to SQL Server, query with Transact-SQL (T-SQL), and view the results.
 
Share this answer
 
Comments
SijoXavier 31-Oct-17 5:16am    
Hi Maciej,thank you for your response,I was actually referring to the Visual studio 2017 for Mac not the visual studio Code.
Maciej Los 31-Oct-17 5:40am    
Seems, you misuderstood me. There's nothing like "server explorer option to create a local db connection" in MacOS. There's no way to create local db. The only way to work around it is to use use external sql server.
SijoXavier 1-Nov-17 6:34am    
Oh my bad ,Thanks a lot Maciej,will try for an external sql server for lunux option
Quote:
LocalDB is a lightweight version of the SQL Server Express Database Engine

And even there is Visual Studio for Mac there is no LocalDB for Mac...
You have to look for an other kind of database, that supported on Mac...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900