Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Connect to DB in Anthor PC

 
Ahmed Elemam
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey ...
I have a question ..
i WANT TO CONNECT TO DB (POSTGRES) IN ANOTHER PC USING JDBC ???
how can i do this connection
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use the IP address of the other PC when you define your database connection parameters.
 
Ahmed Elemam
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i try the IP address but it dosnt work
 
chris webster
Bartender
Posts: 2407
33
Linux Oracle Postgres Database Python Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ahmed Elemam wrote:i try the IP address but it dosnt work


If you Google "jdbc connection postgresql" here is the first link that comes up:

http://jdbc.postgresql.org/documentation/80/connect.html

 
Ahmed Elemam
Greenhorn
Posts: 8
Eclipse IDE Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i ll try it thnx
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic