Mantis with Postgres
Moderators: Developer, Contributor
-
jmax
Mantis with Postgres
I have made some adaptations to mantis last version in order to work with Postgres 8.0. It run fine. Anyone interested ?
Sure. Please post them to the issue tracker (http://bugs.mantisbt.org/) and we will look at integrating them.
-
filip
-
Jason
Mantis with Postgres
where can I get this mod? is this now part of Mantis?
I dont like mysql, I'm already running postgres and I also really like Mantis when I have used it in the past. so If theres a postgres option I will definitely use it.
I dont like mysql, I'm already running postgres and I also really like Mantis when I have used it in the past. so If theres a postgres option I will definitely use it.
I would recommend for PostgreSQL users to test using Mantis 1.0.0rc1.
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect/
-
filip
I've just migrated my mantis installion (was still 0.18.3) from MySQL to version 1.0.0.rc1 on PostgreSQL 7.4.8.
Everything seems to run perfect.
It was slightly tricky to migrate the old data (used import/export to csv files for this) but had trouble with the uploaded files in the database.
Apart from that, everything went fine. (it might be usefull to have a migration script that is able to migrate the information over from mysql to postgresql automatically during an upgrade).
Thanks again for making mantis run on PostgreSQL (I'm moving everything to Postgresql and was very keen to stay with mantis...)
~ Filip
Everything seems to run perfect.
It was slightly tricky to migrate the old data (used import/export to csv files for this) but had trouble with the uploaded files in the database.
Apart from that, everything went fine. (it might be usefull to have a migration script that is able to migrate the information over from mysql to postgresql automatically during an upgrade).
Thanks again for making mantis run on PostgreSQL (I'm moving everything to Postgresql and was very keen to stay with mantis...)
~ Filip
I published a post on my blog regarding the fact that Mantis 1.0.0rc1 is working with PostgreSQL.
http://www.futureware.biz/blog/index.ph ... =1#more132
Regards,
Victor
Subscribe to Mantis blog
http://www.futureware.biz/
http://www.futureware.biz/blog/index.ph ... =1#more132
Regards,
Victor
Subscribe to Mantis blog
http://www.futureware.biz/
Regarding copying from one database to another: I once wrote a little web interface that used ADODB to do just this.
It would connect to the source DB, work out the schema (as far as I know: for me, ADODB is still a bit of a black-art :) ) then start copying chunks of the data to another database that has the same schema. I had plans to make it generate the schema itself, but kinda got bored with it...
It did do some cool things like trying to copy chunks but reverting to single lines for a while if the DB server couldn't handle the size of that chunk and so on. Plus, it would draw pretty tables :)
If anyone is interested in this tool I'd be more than happy to stick it up, though I'd really need someone to test it, as I only ever tested MySQL -> MySQL (admittedly on different servers, with ADODB so in theory it should be fine, right?)
vboctor: would you see a use for this in the main admin section?
It would connect to the source DB, work out the schema (as far as I know: for me, ADODB is still a bit of a black-art :) ) then start copying chunks of the data to another database that has the same schema. I had plans to make it generate the schema itself, but kinda got bored with it...
It did do some cool things like trying to copy chunks but reverting to single lines for a while if the DB server couldn't handle the size of that chunk and so on. Plus, it would draw pretty tables :)
If anyone is interested in this tool I'd be more than happy to stick it up, though I'd really need someone to test it, as I only ever tested MySQL -> MySQL (admittedly on different servers, with ADODB so in theory it should be fine, right?)
vboctor: would you see a use for this in the main admin section?
-
PatPowerMan
- Posts: 9
- Joined: 04 Mar 2005, 16:57
You definitely wouldn't be able to export a single project: the code has no concept of what Mantis is... it's just a database exporter.
In theory you could change the code so that instead of inserting in to the database, you dump to a CSV file, yes.
Give me a few days then hit this thread again if you're interested. Firstly, I need to find the code and then secondly, I need to tidy up my site before I can find a place to put it for you!
In theory you could change the code so that instead of inserting in to the database, you dump to a CSV file, yes.
Give me a few days then hit this thread again if you're interested. Firstly, I need to find the code and then secondly, I need to tidy up my site before I can find a place to put it for you!