Top VPS Hosting Provider

Welcome to the myhosting.com Forums.
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Strummer is offline Junior Member
    Join Date
    Feb 2012
    Posts
    1

    Default Connecting to Local Database

    Hello,

    I am attempting to connect to the local instance of SQL Express running on the VPS through SQL Management Studio (2008 R2), also running on the VPS. It appears as though the local database engine is named 'MSSQLSERVER' in this case but any attempted connection to 'localhost\MSSQLSERVER' fails.

    What connecting to the database engine, what connection properties should I be using? Again, it's not a remote connection or anything - everything is being done within the VPS.

    Thanks!

  2. #2
    suwunk is offline Super Moderator
    Join Date
    Aug 2010
    Posts
    1,081

    Default

    Hi There,

    You can try on the command prompt SQLCMD /L
    SQLCMD /L will list all SQL server in your network.

    If your SQL Server instance was installed as a default instance (“MSSQLSERVER”), we can use ".","localhost" or "(local)" to connect to it. If not, we need to specify “.\InstanceName” .

    Cheers


 

Similar Threads

  1. database-driven sites
    By Randy5 in forum Virtual Server
    Replies: 2
    Last Post: 2012-02-07, 08:54 AM
  2. database warehouse
    By Stoddard in forum Programming
    Replies: 0
    Last Post: 2012-02-07, 07:35 AM
  3. santizing database data
    By PotsNPans in forum How-To
    Replies: 1
    Last Post: 2012-01-27, 08:41 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts