I've just installed SQL Server 2012 and open the SQL Server Management Studio and when I try to login this problem occurs:
Can't connect to .....
My question is how can I know what is the server name?
And when I go to the SQL Server Configuration Manager I can't find the SQL Server services which should exist !!
Any answer ?
Thanks.
Open SQL Server Management Studio. In Connect to Server, select Database Engine, enter your SQL Server name, and enter administrator credentials to connect to the server. Select Connect. In Object Explorer, expand the SQL Server, expand Security, right-click Logins, and then select New Login.
Click Security in the list on the left. Select SQL Server and Windows Authentication mode on the right and click OK. Click OK to close the warning about restarting SQL Server. Right-click on the server name (ie COMPUTERNAME\ACCTIVATE) and choose Restart and click Yes to restart SQL Server.
If you installed SQL Express, the correct server name is:
127.0.0.1\SQLEXPRESS
or
YOURMACHINENAME\SQLEXPRESS
If that does not work there are some steps you can take:
Check if the "SQL Server Browser" windows service is activated and running:
If that too does not work, you can also check if the TCP/IP protocol is enabled in your SQL Server instance. Follow these steps (tested for SS2012) to make sure:
<YourInstance>
"If you have any problem, check this blog post for details, as it contains screenshots and much more info.
That's it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With