blueseal
blueseal

Reputation: 355

How to find Database Server Name

I have no idea about databases, and I googled but couldn't figure out. I'm running database on my machine. Is the 'database server name' localhost?

Upvotes: 0

Views: 33265

Answers (2)

Dean P
Dean P

Reputation: 2225

In Microsoft SQL Server Management Studio, in the Object Explorer pane, right click the server and select properties. In the pane, there should be a heading called "Connection" and in that heading a link to a new window called "View connection properties". The value next to "Server name" is the name of your server.

Upvotes: 0

Hawkmooon
Hawkmooon

Reputation: 508

Yes "localhost" works and will connect to the default database instance (assuming once exists). Or "127.0.0.1" works. Or "." works too in many scenarios.

Upvotes: 2

Related Questions