![]() |
Q) How can I get the iASP server to work with a Postgres SQL database? |
|
|||
A) You can connect to a PostGRES database on a UNIX platform using either JDBC or ODBC. Connecting via ODBC For on configuring an ODBC manager and an ODBC driver for Postgres SQL database, please check out the following FAQ: ftp://mars.capital-data.com/pub/postgresql/odbc/psqlodbc_faq.html Connecting via JDBC When you install the Postgres database, there will be two folders, java1 and java2 which contain the JDK 1.1.* and JDK 1.2.* JDBC drivers respectively. To install the JDBC driver, make sure the JDBC .jar file is in a directory referenced in your classpath (you can update the start-server.sh script). Next, you will have to modify your ADO connection string. The general prototype looks like: "driver=postgresql.Driver;url={jdbc:postgresql:// EXAMPLE: The following example connects to a Postgres database on 192.9.200.6 at port 5432. The username is postgres and the password is post: con.Open("driver=postgresql.Driver;url={jdbc:postgresql:// |
|||
|
|||
Copyright © 1998-2002, Halcyon Software Inc. All rights reserved. |