<?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 MySQL database import causes issues in Alfresco 1.4 Communit in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65099#M41160</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just done my first MySQL database import. I am using Alfresco Community 1.40 running under Windows 2003 Server with MySQL 5.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At first, all the data seems to have been imported correctly but when a user tries to login to Alfresco, he or she will get an "unknown user" error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I am able to login as Admin fine. Logged in as admin, I can't change any user's password or delete any user account. I get an "object doesn't exist" error message.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This leads me to believe that after the import of the MySQL database, Alfresco and its database seems to be out of sync. The only way to resolve this is by shutting down Alfresco, dropping the database, deleting the contents of the ALF_DATA directory and creating the database again, then all is well. The only drawback to this is that all previous data is lost.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone else encountered this previously?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I export the MySQL database using the following command run from a command prompt:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mysqldump -u root alfresco &amp;gt; alfrescodb.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and I re-import using the command:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mysql -u root alfresco &amp;lt; alfrescodb.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better way to backup the MySQL database?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charles Mathieu&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 29 Jan 2007 03:19:05 GMT</pubDate>
    <dc:creator>cmathieu</dc:creator>
    <dc:date>2007-01-29T03:19:05Z</dc:date>
    <item>
      <title>MySQL database import causes issues in Alfresco 1.4 Communit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65099#M41160</link>
      <description>Hi All,I've just done my first MySQL database import. I am using Alfresco Community 1.40 running under Windows 2003 Server with MySQL 5.0.At first, all the data seems to have been imported correctly but when a user tries to login to Alfresco, he or she will get an "unknown user" error message.Howeve</description>
      <pubDate>Mon, 29 Jan 2007 03:19:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65099#M41160</guid>
      <dc:creator>cmathieu</dc:creator>
      <dc:date>2007-01-29T03:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database import causes issues in Alfresco 1.4 Communit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65100#M41161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The following procedure does work for us:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Shutdown Alfresco server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. mysqldump &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Copy ALF_DATA into backup&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;As I'm aware, it is not enough to just export/import the database, the same version of ALF_DATA should be copied&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: we've tested this scenario with a bit later SVN version, not 1.4…&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jan 2007 06:59:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65100#M41161</guid>
      <dc:creator>deniv</dc:creator>
      <dc:date>2007-01-29T06:59:18Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database import causes issues in Alfresco 1.4 Communit</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65101#M41162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Deniv,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Will give this a try and see if it works for me. Will let you know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks heaps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rgds,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Charles&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2007 22:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-import-causes-issues-in-alfresco-1-4-communit/m-p/65101#M41162</guid>
      <dc:creator>cmathieu</dc:creator>
      <dc:date>2007-02-04T22:24:19Z</dc:date>
    </item>
  </channel>
</rss>

