Results 1 to 3 of 3

Thread: [RESOLVED] Connection String (SQL 2005) using a non standard port

  1. #1

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Resolved [RESOLVED] Connection String (SQL 2005) using a non standard port

    Hi Guys

    I need to set up a connection string to a SQL 2005. We have the database listening on a port other then the default on (1433)....

    I looked on ConnectionStrings but did not see anything.


    I thought it would be like ServerName\InstanceName,port;

    That did not work.

    Help

    Thanks Gary
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: Connection String (SQL 2005) using a non standard port

    That should be the way, here's their example:
    Code:
    Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial Catalog=myDataBase;User ID=myUsername;Password=myPassword;

  3. #3

    Thread Starter
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: Connection String (SQL 2005) using a non standard port

    OK found out they place the slash the wrong way. Done
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

Posting Permissions

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



Click Here to Expand Forum to Full Width