【Problem Description】 Unable to open the user default database. Login failed. Login failed for user'sa'. (Microsoft SQL Server, error: 4064) |
【answer】 |
First log in with windows authentication, and then right click on'sa'-'Properties' in'Security'-'Login'-'Properties', set the default database to master, and click OK. |