add jdbc connection string and example

Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/commit/57d76d2b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/tree/57d76d2b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/diff/57d76d2b

Branch: refs/heads/develop
Commit: 57d76d2b86014f772754ca70cab95e4c337a71a2
Parents: 245633e
Author: Lisa Owen <[email protected]>
Authored: Fri Oct 7 09:02:22 2016 -0700
Committer: Lisa Owen <[email protected]>
Committed: Fri Oct 7 09:02:22 2016 -0700

----------------------------------------------------------------------
 .../g-database-application-interfaces.html.md.erb       | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq-docs/blob/57d76d2b/clientaccess/g-database-application-interfaces.html.md.erb
----------------------------------------------------------------------
diff --git a/clientaccess/g-database-application-interfaces.html.md.erb 
b/clientaccess/g-database-application-interfaces.html.md.erb
index 945f6cb..b68a3b6 100644
--- a/clientaccess/g-database-application-interfaces.html.md.erb
+++ b/clientaccess/g-database-application-interfaces.html.md.erb
@@ -25,6 +25,18 @@ The JDBC API specifies a standard set of Java interfaces to 
SQL-compliant databa
 
 HAWQ supports the DataDirect JDBC Driver. Installation instructions for this 
driver are provided on the Pivotal Network download page.
 
+The connection URL for accessing the HAWQ DataDirect JDBC driver is of the 
following format:
+
+``` shell
+jdbc:pivotal:greenplum://host:port;DatabaseName=<name>;
+```
+
+For example:
+
+``` shell
+jdbc:pivotal:greenplum://hdm1:5432;DatabaseName=gpadmin;
+```
+
 
 ## <a id="libpq_api"></a>libpq API
 `libpq` is the C API to PostgreSQL/HAWQ. This API provides a set of library 
functions enabling client programs to pass queries to the PostgreSQL backend 
server and to receive the results of those queries.

Reply via email to