× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hmmm... not sure why you'd use JDBC for local database access...

But, it's the driver that controls this, not JDBCR4. If you have a JDBC driver that is capable of using the local credentials, it should be possible to make it work with JDBC_ConnProp().

The driver that I've used with DB2 for i, however, is designed for network use, so it always makes a TCP connection to the database server (if you use localhost, it doesn't get sent out over ethernet, but it's still a network connection) and therefore requires your userid/password in order to know who you are.

On 2/10/2014 12:34 PM, James H. H. Lampert wrote:
When establishing a JDBC connection (via Scott Klement's JDBCR4) to
"localhost," is there a way to tell it to "just use the signed-on user,"
rather than requiring a user-ID and password to be passed?

--
JHHL


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.