Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open and edit mdf sql server database files on linux

How to open and edit mdf sql server database files on linux?

I use ubuntu!

like image 689
Tareq Nassry Avatar asked Oct 28 '25 01:10

Tareq Nassry


1 Answers

As of December 2016, there is a SQL Server version for Linux. The recommended approach would be to run SQL Server from the official Docker image:

  • https://hub.docker.com/r/microsoft/mssql-server-linux/
  • https://hub.docker.com/r/microsoft/mssql-tools/

Then it would be as simple as running SQL scripts against your database. There even exists a VS Code plugin for managing your databases: https://github.com/Microsoft/vscode-mssql.

like image 131
2 revsMartín Coll Avatar answered Oct 30 '25 17:10

2 revsMartín Coll