HPlogo HP Driver for JDBC User's Manual: HP 3000 MPE/iX Computer Systems > Chapter 4 Using the HP Driver for JDBC

URL Syntax (Without User Name and Password)

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

The second connection method specifies the user id and password as method arguments, so this information is not present in the URL.

java.sql.DriverManager.getConnection(url, uid, pwd)

where:

String url =       "jdbc:allbase://host[:port]/database[?TRACE=trace]";String uid = "uid";String pwd = "pwd";
host

Name or IP address of the sever host

port

Optional port number on which the JDBC Monitor is listening. If not specified, the default part number 31700 is used.

database

ALLBASE/SQL or IMAGE/SQL database name.

uid

Server host userid that is authorized to access the database.

pwd

Server host password that matches the user id provided above.

trace

Optional trace values separated by the vertical bar "|" character. For more information on tracing, see the Troubleshooting section.

Feedback to webmaster