すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
はじめる前に
If connecting to a remote PostgreSQL server (i.e. if your PostgreSQL server is not installed locally on your Bamboo server host system), please ensure that your data/postgresql.conf
and data/pg_hba.conf
files are configured to accept remote TCP connections from the Bamboo server's IP addess. Refer to the PostgreSQL documentation for the listen_addresses
value in the postgresql.conf
file, as well as documentation for the pg_hba.conf
file, for enabling TCP connections to your PostgreSQL server. (Note that you will need to restart PostgreSQL once any changes to these files have been made.) See:
First, you need to choose how you will connect to the Postgres database. Please follow the instructions for your chosen method:
JDBC is generally simpler, and is therefore the recommended method.
To connect Bamboo to a Postgres database, via JDBC,
jar
file (download here) into your application server's classpath:
jar
file into the webapp/WEB-INF/lib
directory.org.postgresql.Driver
Screenshot 1: 'Setup JDBC Connection (Postgres)'
To connect Bamboo to a Postgres database, via a datasource,
java:comp/env/jdbc/DataSourceName
doesn't work, try jdbc/DataSourceName
(and vice versa).Screenshot 2: 'Setup Datasource Connection'