Where should I install SQL Management Server instances on my development machine?

寵の児 提交于 2019-12-12 06:36:00

问题


I have a new desktop Windows 10 development machine and am trying to minimize what I install on it.

On my old development machine I wound up with multiple versions of SQL Server and Management Studio.

This time I have installed SQL Server in a docker container.

Because of the answer to This question I understand I should not put Management Studio in a container. So where should I put it. In Hyper-V ?


回答1:


Why "minimize" your installation and put barriers between yourself and your work? The purpose of a development machine is to have all the necessary tools to do your job at your disposal.

There's nothing wrong with having multiple versions of SQL Server or Management Studio installed on a single development machine, unless you're short on disk space. And there is no need to containerize them or put them in separate VMs.

I would, however, recommend installing them in the order they were released (oldest to newest). In the past, I've had as many as four releases of SQL Server installed on a single development machine, along with their corresponding SSMS (because until 2016, SSMS always came along for the ride). No troubles.




回答2:


You can put your Management Studio in your Hyper-V. From docker expose the ports of SQL server.

After this you should be able to connect to the SQL server running inside your docker. If required to use some hostname (is management studio needs it) then edit the host file and add the hostname and IP address as docker IP address so that your management studio contacts the docker.



来源:https://stackoverflow.com/questions/44092838/where-should-i-install-sql-management-server-instances-on-my-development-machine

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!