JIRA database switchover (from HSQLDatabase to MySQL) _ MySQL

Source: Internet
Author: User
JIRA database switch (HSQLDatabase to MySQL) original address: http://didimoon.blogcn.com/articles/jiraswitchdb.html

Due to the previous lazy JIRA's use of the built-in HSQL, recently migrated the HSQL content to MySQL. here we record the migration process.

  1. Log on as a JIRA administrator and go to the "administrator page", "system"-"Import & Export" to back up data in XML format.
  2. Create a Schema in MySQL and name it jira.
  3. Disable JIRA Service
  4. Back up the JIRA installation directory and data directory.
  5. Delete the file dbconfig. xml in the JIRA data directory.
  6. Restart the JIRA service.
  7. Access JIRA again, and the database configuration for the first installation will appear again. Enter the MySQL address, user name, password, and database name. after the connection test is successful, click next.
  8. Select import your existing data to import the XML exported in the first step. the database migration has been completed.

The installation directory is the directory selected during installation, which is not detailed here.

The data directory may not be easy to understand at the beginning. it mainly stores imported and exported data, attachments, and other content. The reference path is as follows:

  • C:/Program Files/Atlassian/Application Data/JIRA(On Windows) or
  • /Var/atlassian/application-data/jira(On Linux)

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.