Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
connect remotely to database
sherif hathout
Greenhorn
Posts: 18
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Dear/All
please, I want to connect remotely to acertain DB on a server using hostname and port number. please it's urgent.
this code throws a SQLException(No suitable driver)
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
Connection con = DriverManager.getConnection("jdbc
b2://host:50002/DBname
", "user", "password");
Bear Bibeault
Sheriff
Posts: 67746
173
I like...
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Duplicate of
this post
.
Please do not cross-post the same question in multiple forums.
[
Asking smart questions
] [
About Bear
] [
Books by Bear
]
There is no greater crime than stealing somebody's best friend. I miss you tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
VPN service
Naming Exception - Error accessing repository
JBoss and WMQ 7 JCA connection issue
Uncommon Exception
how to post picture
More...