问题
In Server Configuration Wizard, in Database step, we have to provide the sql server instance name, but I cannot reach sql in other computer.
The screenshot below is from an installation guide:
The error message is the following:
I installed Management Studio and can connect to the sql server, but in the tfs installation i cannot. The firewall did not block the traffic because I have turned off all the firewalls
What roles is needed to connect SQL while installing TFS 2017?
Thanks any help in advance!
回答1:
Ensure that the account you plan to use to configure TFS is a member of the SysAdmin server role in SQL Server.
Installing TFS involves a complex set of operations that require a high degree of privilege - these include creating databases, provisioning logins for service accounts, and more. Technically, all that is required is membership in the ServerAdmin role; ALTER ANY LOGIN, CREATE ANY DATABASE, and VIEW ANY DEFINITION server scoped permissions; and CONTROL permission on the master database. Membership in the SysAdmin server role will confer all of these memberships and permissions, and is therefore the easiest way to ensure that TFS configuration will succeed. If necessary, these memberships and permissions can be revoked after TFS is installed.
More information you can refer to this article:
https://docs.microsoft.com/en-us/vsts/tfs-server/install/dual-server?view=tfs-2018
Adding a screenshot:
来源:https://stackoverflow.com/questions/50462207/installing-tfs-2017-and-cannot-connect-sql-in-other-computer