[Bamboo Knowledge Base]
These instructions will help you connect Bamboo to an Oracle 11g database. Oracle 10g is no longer a supported database for use with Bamboo and the 11.2.x drivers from Oracle do not support 9i.
Bamboo provides two ways to connect to an Oracle database — using JDBC or using a datasource. JDBC is generally simpler and is the recommended method.
重要
このページの内容
Within that database instance, create a user which Bamboo will connect as (e.g. bamboo-user). Remember this database user name, as it will be used to configure Bamboo's connection to this database.
When you create a user in Oracle, Oracle will create a 'schema' automatically.
create user bamboo-user identified by password;
ユーザーが次の権限を持つことを確認します :
grant connect, resource, create table to bamboo-user;
To connect Bamboo to a Oracle database, using JDBC:
Select Direct JDBC connection. The 'Setup JDBC Connection' screen will appear as shown in the screenshot below.
| 設定 | 説明 |
|---|---|
| Driver Class Name | Type: oracle.jdbc.driver.OracleDriver |
| データベース URL | Type the URL where Bamboo will access your database, e.g. jdbc:oracle:thin:@localhost:1521:SID. For syntax, please see the Oracle documentation. |
| ユーザ名 | Type the username that Bamboo will use to access your database. |
| パスワード | Type the password that Bamboo will use to access your database. |
Screenshot: Setup JDBC Connection (Oracle)
To connect Bamboo to a Oracle database, using a datasource:
java:comp/env/jdbc/DataSourceName doesn't work, try jdbc/DataSourceName (and vice versa).Screenshot Setup Datasource Connection
4 Comments
Lee Curtis
Jan 21, 2015What happens when the Oracle schema password is updated? I can't see a way to change this within the Bamboo configuration pages.
paulwatson
Jan 21, 2015Hi Lee, does this page help?
Changing Bamboo database settings
Lee Curtis
Jan 22, 2015Hi Paul,
I've since re-installed Bamboo using the integrated database but will check once I switch back to Oracle. One thing though, I wouldn't have thought the password would be in a config file in bare text.
Going forward, I think it's up to the user (i.e. me) to ensure that whatever database I use for Bamboo reinstates the same password after it expires.
Cheers!
Lee
paulwatson
Jan 27, 2015Hi Lee, that sounds like you have it sorted. I agree about the password in plaintext... I'll investigate that.