Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. sql server connection?????or login with query analyzer????????????

sql server connection?????or login with query analyzer????????????

Scheduled Pinned Locked Moved Database
databasehelpquestionsql-serversysadmin
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mr mohsen
    wrote on last edited by
    #1

    hi friends i have a server that installed o it a sql server 2000 i want to create a connection to the database on this sql server. my server name is (local); when i try to login into my database from query analyzer: i type "(local)" instead of server name and username and password of a auser that i created for login to database. its worked correctly. but when i try to do this action from my home pc, an error appear that contanis below message: "Sqlserver does not exist or access denied." i enter my server ip instead of "(local)" in my query analyzer from my home pc. now how can i login to my database from my home pc???? what do i enter server name ? an ip address or else??? please help me

    nobody help you... you have to help you yourself and this is success way.

    M 1 Reply Last reply
    0
    • M mr mohsen

      hi friends i have a server that installed o it a sql server 2000 i want to create a connection to the database on this sql server. my server name is (local); when i try to login into my database from query analyzer: i type "(local)" instead of server name and username and password of a auser that i created for login to database. its worked correctly. but when i try to do this action from my home pc, an error appear that contanis below message: "Sqlserver does not exist or access denied." i enter my server ip instead of "(local)" in my query analyzer from my home pc. now how can i login to my database from my home pc???? what do i enter server name ? an ip address or else??? please help me

      nobody help you... you have to help you yourself and this is success way.

      M Offline
      M Offline
      Mark J Miller
      wrote on last edited by
      #2

      (local) only works if you are logged in locally to the machine where the instance of SQL Server is installed. You will probably need to use the IP address of the machine from home, unless you have some way to resolve the hostname (like if you are logged in thru a VPN). Then you can type in your username and password into QueryAnalyzer just like you would if you were on the machine locally.

      Mark's blog: developMENTALmadness.blogspot.com

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups