Upgrade Redmine 2.4 to Redmine 3.2:import database

Source: Internet
Author: User
Tags import database redmine

After install Redmine 3.2, your may import the data from old version redmine to Redmine 3.2.

1) Create A new clean database
sudo mysql-u root-pdrop database redmine
CREATE DATABASE redmine character SET UTF8; CREATE user ' redmine ' @ ' localhost ' identified by ' My_password '; GRANT all privileges on redmine.* to ' redmine ' @ ' localhost ';
2) Import old Redmine database to new Redmine

/usr/bin/mysql-u root-p Redmine </redmine_db_dir/redmine_db_16_02_27.sql

3) Generate new Secret and Update db and plugins
sudo su-redminecd redminerake generate_secret_tokenrake db:migrate rails_env=productionrake redmine:plugins:migrate Rails_env=productionrake Tmp:cache:clearrake Tmp:sessions:clearexit


Upgrade Redmine 2.4 to Redmine 3.2:import database

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.