<div dir="ltr"><span class="Apple-style-span" style="font-family: 'times new roman'; font-size: 16px; "><pre>I'm having a problem with corruption as well. I had missed this upgrade because I am running mysql 5.x so presumed it didn't apply. I've since run the script and everything seemed to work, but of course this is after doing the 3.8.1 upgrades. My attachments still seem to be corrupting, any suggestions? This is the output of show create table attachments:</pre>
<pre>Attachments  CREATE TABLE `Attachments` (
 `id` int(11) NOT NULL auto_increment,
 `TransactionId` int(11) NOT NULL,
 `Parent` int(11) NOT NULL default '0',
 `MessageId` varchar(160) character set ascii default NULL,
 `Subject` varchar(255) default NULL,
 `Filename` varchar(255) default NULL,
 `ContentType` varchar(80) character set ascii default NULL,
 `ContentEncoding` varchar(80) character set ascii default NULL,
 `Content` longblob,
 `Headers` longtext,
 `Creator` int(11) NOT NULL default '0',
 `Created` datetime default NULL,
 PRIMARY KEY  (`id`),
 KEY `Attachments2` (`TransactionId`),
 KEY `Attachments3` (`Parent`,`TransactionId`)
) ENGINE=InnoDB AUTO_INCREMENT=4221 DEFAULT CHARSET=utf8<br></pre><pre>Quoted Text Below:</pre><pre>------------------</pre><pre>Shouldn't at this point, but there is a chance that later we'll have
an upgrade for some 3.8.x version that wouldn't work correct if your
DB is not changed using the script.</pre><pre>Could you please send us output of "SHOW CREATE TABLE Attachments;" SQL command?

On Fri, Aug 22, 2008 at 3:38 AM, Aaron Hathaway
<<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">aaron.hathaway at prager.com</a>> wrote:
><i> Helmuth,
</i>><i>
</i>><i>
</i>><i>
</i>><i> I ran the script after updating from 3.8.0 to <a href="http://3.8.1.">3.8.1.</a>  Would that make a
</i>><i> difference?
</i>><i>
</i>><i>
</i>><i>
</i>><i> Thanks,
</i>><i>
</i>><i> Aaron
</i>><i>
</i>><i>
</i>><i>
</i>><i> From: Helmuth Ramirez [mailto:<a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">HelmuthRamirez at compupay.com</a>]
</i>><i> Sent: Thursday, August 21, 2008 3:32 PM
</i>><i> To: Aaron Hathaway; <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">jmoseley at corp.xanadoo.com</a>
</i>><i> Cc: <a href="http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users">rt-users at lists.bestpractical.com</a>
</i>><i> Subject: Re: [rt-users] 3.8.1 corrupting attachments
</i>><i>
</i>><i>
</i>><i>
</i>><i> Did you upgrade the db to 3.8.0, run the script, then update to 3.8.1?
</i>><i>
</i>></pre></span></div>