Good point Joop! I'll make sure the initial data doesn't get inserted. Thanks!<br><br>-Todd<br><br><div class="gmail_quote">On Tue, Jun 17, 2008 at 2:21 AM, Joop <<a href="mailto:JoopvandeWege@mococo.nl">JoopvandeWege@mococo.nl</a>> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Todd Chapman wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Someone wants me to convert their Postgres backed RT to MySQL. Doesn't matter why, they want it. :)<br>
<br>
Here's what I am thinking.<br>
<br>
1. Shut down the web server.<br>
2. Dump the DB data.<br>
3. Reconfigure RT for MySQL.<br>
4. Run initdb<br>
5. Load the data.<br>
6. Restart the RT/web server.<br>
</blockquote>
<br></div>
You're probably in trouble between points 4 and 5 since initdb does create not only the db objects but also loads data which will be in the dataset that comes from postgres, if you're lucky the inital data will be the same but I wouldn't bet on it. You could truncate the tables and reset the sequences but it might be easier to modify initdb to only create but not load the data.<br>
<font color="#888888">
<br>
Joop<br>
<br>
</font></blockquote></div><br>