标签:
After install redmine 3.2, you may import the data of old version redmine to redmine 3.2.
sudo mysql -u root -p drop database redmineCREATE DATABASE redmine character SET utf8; CREATE user ‘redmine‘@‘localhost‘ IDENTIFIED BY ‘my_password‘; GRANT ALL privileges ON redmine.* TO ‘redmine‘@‘localhost‘;
/usr/bin/mysql -u root -p redmine < /redmine_db_dir/redmine_db_16_02_27.sql
sudo su - redmine cd redmine rake generate_secret_token rake db:migrate RAILS_ENV=production rake redmine:plugins:migrate RAILS_ENV=production rake tmp:cache:clear rake tmp:sessions:clear exit
Upgrade Redmine 2.4 to Redmine 3.2: Import database
标签:
原文地址:http://www.cnblogs.com/luckysimple/p/5223567.html