问题
I have SQL Server 2014 Express with three instances installed. I want to install Team Foundation Server Express 2015 and use third instance for it. But there is no way to tell TFS to use this third reserved instance, it always forces itself to first SQL Server instance, where is my production database! Don't tell me that it is not possible to select whatever SQL Server instance you want... I took screenshot of TFS Server Configuration Wizard and you can see there is no way to specify this instance. When you press Configure button, installation starts and first found instance is used.
回答1:
If you're using TFS for personal use or to evaluate the core features, TFS Express is a good choice. We don't recommend using SQL Server Express for anything but personal or evaluation deployments of TFS.
You can use TFSConfig.exe command to change a new SQL Server Instance:
tfsconfig unattend /configure /type:basic /inputs:SqlInstance=server\sqlInstanceName
Check this blog for more details: https://lajak.wordpress.com/2013/01/09/tfs2012-express-advanced-configuration-part-1/
来源:https://stackoverflow.com/questions/35147856/how-to-specify-sql-server-instance-for-tfs-express-2015