SQL Server Remote Connection
Server
1. start SQL Server Management Studio
2. Right click "server", click "Properties"
3. Click Security, choose "SQL Server and Windows Authentication mode", Click OK to save the change.
4. Right click the Security/Logins/sa, click Properties
5. Set password for account sa
6. Click Status, change login as "Enabled". Click OK to save the change

7. Close the SQL Server Manangement Studio, Use sa to login.
If login successful, go to step 8. Otherwise check the error message
8. Start the SQL Server Configuration Manager, Start "SQL Server Browser" (If failed, check the status of services in "Services")

9. Click the SQL Server Network Configutation/Protocols for MSSQLSERVER, enable TCP/IP protocol.

10. Right click "TCP/IP protocol", Click "Properties". Click "IP Addresses", Check the value of "IP Address" and "TCP Port"

Comments
Post a Comment