<?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: Migration from HSQL to MySQL in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131731#M92576</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I experienced the exact same problem - i've been trying to do this migration for 3 weeks already! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you finally have any luck on this?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Dec 2007 11:23:56 GMT</pubDate>
    <dc:creator>durianwool</dc:creator>
    <dc:date>2007-12-14T11:23:56Z</dc:date>
    <item>
      <title>Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131726#M92571</link>
      <description>Hi to all..we've recently installed Alfresco Community 2.1 under SLES10with JDK 1.5 and mySQL 5.0.22 but, after set the 'repository.propierties' to use mySQL, Alfresco still using the HSQL DB.. so we've seen the migration how-to into the wiki, but there are some problems..the migrations seems to be</description>
      <pubDate>Wed, 14 Nov 2007 17:08:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131726#M92571</guid>
      <dc:creator>lynx</dc:creator>
      <dc:date>2007-11-14T17:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131727#M92572</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was Installed Alfresco Community on Linux RHEL 4.0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i've changed alfresco database into MySQL database and it's work fine, hopefully it's will work for you also, here is step-by-step i've used to change into MySQL database:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. mysql -u root -p&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. mysql&amp;gt; create database alf_database;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. mysql&amp;gt; grant all on alf_database.* to 'alf_user'@'portal.bocah.org' identified by 'alf_password' with grant option;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. mysql&amp;gt; exit;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my machine name/hostname was portal.bocah.org you can change anything with your hostname/machine name that you used on your machine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I assumed that my alfresco was installed on the folder /usr/local/Alfresco.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. editing usr/local/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/repository.properties as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# Database configuration&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.schema.update=true&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.name=alf_database&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql:///${db.name}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.username=alf_user&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.password=alf_password&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.pool.initial=10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.pool.max=20&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Edit /usr/local/Alfresco/tomcat/shared/classes/alfresco/extension/custom-repository.properties , as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# HSQL connection&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#hsql#db.driver=org.hsqldb.jdbcDriver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#hsql#db.url=jdbc:hsqldb:file:alf_data/hsql_data/alfresco;ifexists=true;shutdown=true;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://localhost/alfresco&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Edit /usr/local/Alfresco/tomcat/shared/classes/alfresco/extension/custom-hibernate-dialect.properties , as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# HSQL dialect&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#hsql#hibernate.dialect=org.hibernate.dialect.HSQLDialect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MySQL dialect (default)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;hibernate.dialect=org.hibernate.dialect.MySQLInnoDBDialect&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;after all those files above edited than stop your system and restart again, as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#/usr/local/Alfresco/alfresco.sh stop&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;make sure that your system was properly shutdown&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#ls -ef | grep alfresco &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if your system still running you can kill the process manually, as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;# kill -9 &amp;lt;process id&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then restart your systems, as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#/usr/local/Alfresco/alfresco.sh start&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good luck for you, hopefully it's also works for you …&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 13:07:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131727#M92572</guid>
      <dc:creator>wahyono</dc:creator>
      <dc:date>2007-11-16T13:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131728#M92573</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i know how to change to mysql from hsql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;my problem is with the importation of hsql into mysql and restart of alfresco &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 17:53:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131728#M92573</guid>
      <dc:creator>lynx</dc:creator>
      <dc:date>2007-11-16T17:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131729#M92574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Lynx,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It sounds like you have done this, but just to check you need to have the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.driver=org.gjt.mm.mysql.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db.url=jdbc:mysql://localhost/public&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your other option is to use the MySQL export and import tools to simply export the contents of the public tablespace and import them into an 'alfresco' tablespace. You can do this via the MySQL commandline tools or using MySQL Administrator - that's what I do.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 12:36:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131729#M92574</guid>
      <dc:creator>steve</dc:creator>
      <dc:date>2007-11-20T12:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131730#M92575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi Lynx,&lt;BR /&gt;&lt;BR /&gt;It sounds like you have done this, but just to check you need to have the following:&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;# MySQL connection (This is default and requires mysql-connector-java-5.0.3-bin.jar, which ships with the Alfresco server)&lt;BR /&gt;#&lt;BR /&gt;db.driver=org.gjt.mm.mysql.Driver&lt;BR /&gt;db.url=jdbc:mysql://localhost/public&lt;BR /&gt;&lt;BR /&gt;Your other option is to use the MySQL export and import tools to simply export the contents of the public tablespace and import them into an 'alfresco' tablespace. You can do this via the MySQL commandline tools or using MySQL Administrator - that's what I do.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Steve&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;yes i do..&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but alfresco doesn't star beacuse the table on DB are all uppercase, we also have change the necessary table in lowercase, but when alfresco found the database i cannot inizialize the context space (also with rebuild index enabled) &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;any idea?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2007 16:46:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131730#M92575</guid>
      <dc:creator>lynx</dc:creator>
      <dc:date>2007-11-20T16:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: Migration from HSQL to MySQL</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131731#M92576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I experienced the exact same problem - i've been trying to do this migration for 3 weeks already! &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you finally have any luck on this?!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Dec 2007 11:23:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/migration-from-hsql-to-mysql/m-p/131731#M92576</guid>
      <dc:creator>durianwool</dc:creator>
      <dc:date>2007-12-14T11:23:56Z</dc:date>
    </item>
  </channel>
</rss>

