Tomcat and external MySQL datasource example
Add the DataSource Resource tag inside the Context tags of your context descriptor in the server.xml
file located under <bamboo-installation-directory>/conf:
<Context .... >
<Resource name="jdbc/bamboo" auth="Container" type="javax.sql.DataSource"
username="yourusername"
password="yourpassword"
driverClassName="com.mysql.jdbc.Driver"
url="jdbc:mysql://localhost:3306/bamboo?autoReconnect=true"
maxActive="100"
maxIdle="7"
validationQuery="Select 1" />
</Context>
最終更新日: 2023 年 1 月 30 日
Powered by Confluence and Scroll Viewport.