Confluence changing the database address

Source: Internet
Author: User

When installing confluence, the Confluence application and database is not on a server, the company moved the office during the last period of time, resulting in a change in the server IP, so that confluence will not start up, you need to modify the confluence connection to the database address, In fact, it is very simple to modify the address, mainly to find the Confluence connection database configuration file.


The first step is to find the Confluence installation directory, my installation directory in/opt/atlassian/

The second step, because confluence the Tomcat to transform, so confluence application is not under Workapps, but under the confluence

Usually our project configuration file in the Classes folder, so I found the/opt/atlassian/confluence/confluence/web-inf/classes this directory, See this directory below there is a confluence-init.properties file, feel like a general configuration file, open this file, found the last side of a line of code: Confluence.home =/var/atlassian/ Application-data/confluence, see the name of this directory, feel more reliable.

The third step, enter the Confluence.home configuration folder, open this folder to see There is a confluence.cfg.xml file, open this file, find the configuration of the database connection pool kind of things, really is found, this time modify Hibernate.connection.url value for the new database address restart.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.