Migrating Mantis from MSSQL to MySQL

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
DiamondEagle
Posts: 2
Joined: 29 Mar 2010, 09:22

Migrating Mantis from MSSQL to MySQL

Post by DiamondEagle »

Once upon a time a long time ago I installed Mantis 1.1.8 using MS SQL Server 2005 as the Mantis database. Over the years I've collected a lot of bug reports for my projects and done a lot of work with Mantis. Mantis rocks! :D

But using MSSQL was a big mistake. Upgrading Mantis has been impossible with MSSQL, so I would like to migrate from MSSQL to MySQL. Is there any documentation on how I should do this? How do I migrate my existing data in the MSSQL database to a MySQL database?

Thanks.
atrol
Site Admin
Posts: 8573
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Migrating Mantis from MSSQL to MySQL

Post by atrol »

Might work, never tried step 2) myself:

1) Install empty MantisBT 1.1.8 using MySQL (this is needed to have the right database schema and not a schema that is generated by any MSSQL-->MySQL migration tool)
2) Use a tool to migrate the data from MSSQL to MySQL, e.g. http://opendbcopy.sourceforge.net/
3) Upgrade MantisBT 1.1.8 to 1.2.19 by following the instructions at https://www.mantisbt.org/docs/master-1. ... LL.UPGRADE
Please use Search before posting and read the Manual
slotix
Posts: 1
Joined: 22 Jun 2015, 12:47

Re: Migrating Mantis from MSSQL to MySQL

Post by slotix »

Hello,

Try https://dbconvert/mssql/mysql/ for migration. It checks for possible migration issues before actual conversion.
Post Reply