Mantis1.18 upgrade 1.2X Method

Source: Internet
Author: User
Tags import database

I saw a brother on the forum asking me how to upgrade {
Tagshow (event, 'mantis ');
} "Href =" javascript:; "target =" _ Self ">Mantis. When I first started using mantis, I didn't pay attention to how to upgrade Mantis!
It was always 1.18, but it was not convenient to use many functions. Later, 1.20 came out, with multiple functions such as report integration and field filtering customization.
But I don't know how to upgrade it. Later, I accidentally found that the Install button during the installation process was "Install/upgrade Database"
Suddenly open! "Install/upgrade database" doesn't mean "install or upgrade!
I will share with you the following steps:

Back up {
Tagshow (event, '% Ca % fd % be % DD % BF % e2 ');
} "Href =" javascript:; "target =" _ Self ">DatabasePrevents problems caused by upgrade failures. (For example, Windows2003 + MySQL + Apache)
Enter {
Tagshow (event, 'windows ');
} "Href =" javascript:; "target =" _ Self ">WindowsCommand Line (Enter cmd at the Start menu and press Enter)
Step 1 back up the database:
Mysqldump-uroot-P Password Database Name> X: \ name. suffix name

In this way, you can find the file "name. suffix" under the root directory of the X drive! This is the backup data.

Step 2 create a new database:
Command Line input: mysql-uroot-P Password
Enter the MySQL Console

Create Database 'database name ';

You can use the database name as needed, for example, mantis1.20.

PS. If you have special requirements or sorting requirements on the database encoding format, you can use

Create Database 'mantis1. 20' default Character Set utf8 default collate utf8_unicode_ci

Uft8 and utf8_unicode_ci are determined based on the situation

Step 3 Import Database
MySQL database name <X: \ name. suffix

Do not reverse the backup and recovery operations if the backup and recovery operations are greater than or less than the backup and recovery operations. Otherwise, you are solely responsible for the consequences.

It is easy to complete the above actions. In order to prevent the loss of original data, no one provides you with any guarantee for the original operations.
It is better to continue using existing things than upgrading fails. Next we will officially upgrade

Find the path for Apache and project deployment. If you are not clear about it, you can find httpd. conf in the Apache \ conf directory.
Decompress the mantis1.2 installation package to the project deployment directory!

Access:
Http: // ip address: Port Number/installation package directory
The installation screen appears later.
Type of Database (database type, we select MySql)
Hostname (for database server) (Database address, usually on the local machine, so it is localhost, if in {
Tagshow (event, '% C6 % E4 % CB % FB ');
} "Href =" javascript:; "target =" _ Self "> Others Enter the IP address of the machine)
Username (for database) (Database User Name)
Password (for database) (password used for the database)
Database Name (for database)(In this case, Let's enter the data name. Generally, the new database can be named at will, but now we want to upgrade it, so the name entered here should be written as a database we just backed up, for example, I used the backup data to create a database named mantis1.20, so here I enter mantis1.20)
Admin username (to create database if required)
Admin Password (to create database if required)
Print {
Tagshow (event, 'SQL ');
} "Href =" javascript:; "target =" _ Self "> SQL Queries instead of writing to the database (here is a check box, which is used to print SQL statements)
After entering the above content, We can click
Install/upgrade database after attempt installation !! In this case Program Run. Generally, if the information is correct, the database is normal! The data size is generally 5 to 5 ~ Upgrade and installation can be completed in 60 seconds.

Then we can use the new Mantis. All the original data is imported! And the original system can also be used.

As for how to configure the specific situation, we have specific requirements !!

I have been in contact with Mantis for a long time !! Many things I hope you will give me some advice! I don't know how to map it! So I wrote a mess of text! Hope to be useful to everyone

I have verified the upgrade myself. I have not tried any other version upgrade !! Because I started using

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.