<?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 Virgin install database beef in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/virgin-install-database-beef/m-p/241980#M195110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good evening Alfresco experts! I have been curious about Alfresco for a while and decided to dive in and see what all the excitement is about. I've downloaded the source for the community edition from SVN and have built Alfresco on OSX. I've installed Tomcat and MySQL and thought I was ready to go! I deployed the application to tomcat and fired up the JVM. It seems that Alfresco is able to connect to my database (which I created manually) and it begins to create the schema (whoo hoo!) Unfortunately, I run into the following issue while Alfresco is giving MySQL some love:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;19:42:15,775&amp;nbsp; ERROR [domain.schema.SchemaBootstrap] Statement execution failed:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; SQL: alter table JBPM_ACTION add index FK_ACTION_REFACT (REFERENCEDACTION_), add constraint FK_ACTION_REFACT foreign key (REFERENCEDACTION_) references JBPM_ACTION (ID_)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Error: Duplicate key name 'FK_ACTION_REFACT'&lt;BR /&gt;&amp;nbsp;&amp;nbsp; File: /var/folders/p7/p7Xib+4mFFKT3z-hy9bUYE+++TI/-Tmp-/Alfresco/AlfrescoSchema-MySQLInnoDBDialect-Update-4307267907639510715.sql&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Line: 29&lt;BR /&gt;19:42:15,777&amp;nbsp; ERROR [domain.schema.SchemaBootstrap] Schema auto-update failed&lt;BR /&gt;com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Duplicate key name 'FK_ACTION_REFACT'&lt;BR /&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I've searched the forums and couldn't find anyone complaining about this schema object being a duplicate. Please let me know if I've done something (or not done something) to cause this beef-o-roni. Any help or insight you might have is appreciated!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Oct 2010 02:58:35 GMT</pubDate>
    <dc:creator>wickem</dc:creator>
    <dc:date>2010-10-27T02:58:35Z</dc:date>
    <item>
      <title>Virgin install database beef</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virgin-install-database-beef/m-p/241980#M195110</link>
      <description>Good evening Alfresco experts! I have been curious about Alfresco for a while and decided to dive in and see what all the excitement is about. I've downloaded the source for the community edition from SVN and have built Alfresco on OSX. I've installed Tomcat and MySQL and thought I was ready to go!</description>
      <pubDate>Wed, 27 Oct 2010 02:58:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virgin-install-database-beef/m-p/241980#M195110</guid>
      <dc:creator>wickem</dc:creator>
      <dc:date>2010-10-27T02:58:35Z</dc:date>
    </item>
    <item>
      <title>Re: Virgin install database beef</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/virgin-install-database-beef/m-p/241981#M195111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've also seen something similar on my dev setup (also on Mac OS X, originally using MySQL 5.1.47 but also seen with 5.1.49) when dropping the database schema and then re-creating it. On a subsequent fresh bootstrap of Alfresco, I would often (but not always) see "Duplicate key name" (even though my schema was previously empty). In my case, the workaround was to simply restart MySQL (eg. using MySQL pref pane) and the bootstrap would always go through after the restart. Does this workaround work for you ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Which exact version of MySQL are you using ? If you're not using the latest point release (5.1.51, at time of writing) then you could try upgrading to see if this makes any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Oct 2010 08:32:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/virgin-install-database-beef/m-p/241981#M195111</guid>
      <dc:creator>janv</dc:creator>
      <dc:date>2010-10-27T08:32:24Z</dc:date>
    </item>
  </channel>
</rss>

