すべてのバージョン
Bamboo 5.13Bamboo 5.7.x
Bamboo 5.6.x
More...
These instructions will help you connect Bamboo to a PostgreSQL 8.2+ database.
(PostgreSQL 8.0 and PostgreSQL 8.1 are not supported for use with Bamboo.)
Please note, the JDBC driver for PostgreSQL 8.2 (PostgreSQL Driver 8.4.x) is bundled with Bamboo. You do not have to download and install the driver.
If you are connecting Bamboo to a remote PostgreSQL server (i.e. if your PostgreSQL server is not installed locally on your Bamboo server host system), you will need to configure your data/postgresql.conf and data/pg_hba.conf files to accept remote TCP connections from your Bamboo server's IP address.
The following PostgreSQL documentation contains information on the appropriate listen_addresses value in the postgresql.conf file as well as the pg_hba.conf file:
Once you have modified your data/postgresql.conf and data/pg_hba.conf files, you will need to restart PostgreSQL for your changes to take effect.
sudo -s -H -u postgres # Create the Bamboo user: /opt/PostgreSQL/8.3/bin/createuser -S -d -r -P -E bamboouser # Create the bamboo database: /opt/PostgreSQL/8.3/bin/createdb -O bamboouser bamboo exit
Creating a completely empty bamboo database is recommended. Avoid using templates to create the database as some may insert default tables which can lead to conflicts when setting up Bamboo.
Bamboo provides two ways to connect to a PostgreSQL database — via JDBC or via a datasource. JDBC is generally simpler and is the recommended method.
To connect Bamboo to a PostgreSQL database, via JDBC,
org.postgresql.Driver (if different from the default).Screenshot 1: 'Setup JDBC Connection (PostgreSQL)'
To connect Bamboo to a Postgres database, via a datasource,
java:comp/env/jdbc/DataSourceName does not work, try jdbc/DataSourceName (and vice versa).Screenshot 2: 'Setup Datasource Connection'