Reputation: 17
I have Microsoft SQL Server manager version 18.8 installed to my PC, as well as SQL Server 2019. Both are installed on my PC. I need to locally create and manage a database.
I am trying to connect the SSMS but it's not working.
I entered to the services and restarted everything
and I also enabled TCP/IP in configuration manager.
what should I do?
Upvotes: 1
Views: 7016
Reputation: 1260
Try connecting using .\SQLEXPRESS
as the server name.
It seems you have created an instance with the name SQLEXPRESS
. With SQL server you can create "instances". Each instance is like its own separate database engine and has its own list of databases, users and so forth. There can be one default instance which would be just the computer name or .
. In your case you have a named instance "SQLEXPRESS" which you need to address using .\SQLEXPRESS
or <computername>\SQLEXPRESS
.
Upvotes: 0
Reputation: 155648
SQLEXPRESS
(this is shown in parentheses within the SQL Server service name "SQL Server (SQLEXPRESS)
" in the Windows Services MMC snap-in.Server name:
field.You need to specify .\SQLEXPRESS
or (local)\SQLEXPRESS
to be able to connect.
Upvotes: 1