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. Oracle Network Conn Sting

Oracle Network Conn Sting

Scheduled Pinned Locked Moved Database
databasesysadminoraclequestion
3 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.
  • K Offline
    K Offline
    kallileo
    wrote on last edited by
    #1

    I use this connection string to connect to a DB on the same computer as the application. Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword; Now I want to connect from my application to a remote database on remote server through local network. How should I modify the connection string?

    P 1 Reply Last reply
    0
    • K kallileo

      I use this connection string to connect to a DB on the same computer as the application. Provider=OraOLEDB.Oracle;Data Source=MyOracleDB;User Id=myUsername;Password=myPassword; Now I want to connect from my application to a remote database on remote server through local network. How should I modify the connection string?

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      http://www.connectionstrings.com[^] can help you out. You are going to have to point the connection string to the ip address of the remote server. Frankly, I have not done any Oracle work in the past year or so, the site I provided is a very useful site that is worth bookmarking :-D


      "I've seen more information on a frickin' sticky note!" - Dave Kreskowiak

      K 1 Reply Last reply
      0
      • P Paul Conrad

        http://www.connectionstrings.com[^] can help you out. You are going to have to point the connection string to the ip address of the remote server. Frankly, I have not done any Oracle work in the past year or so, the site I provided is a very useful site that is worth bookmarking :-D


        "I've seen more information on a frickin' sticky note!" - Dave Kreskowiak

        K Offline
        K Offline
        kallileo
        wrote on last edited by
        #3

        So I will have to do something like this? Provider=OraOLEDB.Oracle;**Host=xxx.xxx.xxx..xxx;Port=1521;**Data Source=MyOracleDB;User Id=myUsernameassword=myPassword; Do I still need the "Data Source" option?

        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