<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: MySQL Migration Activiti Errors in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248007#M201137</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hm … this one looks familiar to me. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The short story is that pg2mysql does not properly deal with binary data. The fix is to replace '\x…' or '\\x…' with unhex(‘…’) for mysql. You can find more details at &lt;/SPAN&gt;&lt;A href="http://www.contentreich.de/migrating-alfresco-from-postgresql-to-mysql" rel="nofollow noopener noreferrer"&gt;http://www.contentreich.de/migrating-alfresco-from-postgresql-to-mysql&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Sep 2012 13:30:16 GMT</pubDate>
    <dc:creator>deas0815</dc:creator>
    <dc:date>2012-09-13T13:30:16Z</dc:date>
    <item>
      <title>MySQL Migration Activiti Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248004#M201134</link>
      <description>I am in the process of migrating our Alfresco from it's default Postgres DB to MySQL. If I could avoid doing so I definitely would but our development team has standardized on MySQL. Here is a brief overview of my migration strategy:1.Dump PG DB using –column-inserts –data-only options.2.Create a ne</description>
      <pubDate>Thu, 16 Aug 2012 17:34:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248004#M201134</guid>
      <dc:creator>clperkins</dc:creator>
      <dc:date>2012-08-16T17:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Migration Activiti Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248005#M201135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Index has nothing to do with Activiti process definition persistence, so a re-index would not help at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) I don't see any values that look like alf_data directory structures.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) I assume your migration has left the XML data somewhat mangled. Those "\012" look a bit suspicious and should probably not be there. I'd think they are the result of dumping the byte data from postgres into a text-based file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately, I am not familiar with Postgres to MySQL migrations, so I can't give any tips on this. But I would try to attempt another migration with proper care for the byte columns…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 20:34:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248005#M201135</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2012-08-16T20:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Migration Activiti Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248006#M201136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yeah, after thinking about what I said I realized I was reaching a bit on the re-indexing part.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'll keep looking, thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2012 20:44:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248006#M201136</guid>
      <dc:creator>clperkins</dc:creator>
      <dc:date>2012-08-16T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Migration Activiti Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248007#M201137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hm … this one looks familiar to me. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The short story is that pg2mysql does not properly deal with binary data. The fix is to replace '\x…' or '\\x…' with unhex(‘…’) for mysql. You can find more details at &lt;/SPAN&gt;&lt;A href="http://www.contentreich.de/migrating-alfresco-from-postgresql-to-mysql" rel="nofollow noopener noreferrer"&gt;http://www.contentreich.de/migrating-alfresco-from-postgresql-to-mysql&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Andreas&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 13:30:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248007#M201137</guid>
      <dc:creator>deas0815</dc:creator>
      <dc:date>2012-09-13T13:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL Migration Activiti Errors</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248008#M201138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There's another thread somewhere in these forums with the same issue which relates to the character set uses for textual data.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its important that the input and output match.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The good news is from what I remember of that issue it got fixed!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Sep 2012 14:54:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-migration-activiti-errors/m-p/248008#M201138</guid>
      <dc:creator>mrogers</dc:creator>
      <dc:date>2012-09-13T14:54:58Z</dc:date>
    </item>
  </channel>
</rss>

