<?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: How to change the default database in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103988#M72582</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! It was very helpful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my opinion there should be some information about this in the user guide. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used 5.1 and in that version there was separate db files and it was easy to find out how to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/henrik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 26 Feb 2012 20:44:52 GMT</pubDate>
    <dc:creator>henrik1</dc:creator>
    <dc:date>2012-02-26T20:44:52Z</dc:date>
    <item>
      <title>How to change the default database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103986#M72580</link>
      <description>Hello everyone!I'm not familiar with H2, that's why I want to change the default database of Activiti to mysql. I've read in user guide, http://www.activiti.org/userguide/index.html#inspecting.database But, you know, the link lead me to index of user guide. That's funny!.Can anyone help me?</description>
      <pubDate>Sat, 18 Feb 2012 14:56:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103986#M72580</guid>
      <dc:creator>mr_mister</dc:creator>
      <dc:date>2012-02-18T14:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103987#M72581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mr_Mister,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope you have configured Activiti and Activiti Explorer is up and running. If thats the case, go to the webapps\activiti-explorer\WEB-INF\classes\db.properties under your tomcat installation (inside your activiti home directory) change the connection paramters to use your mysql. If you want to change the way in activiti-rest interface work, go to webapps\activiti-rest\WEB-INF\classes and edit activiti.cfg.xml. Restart tomcat and your activiti tools should be now pointing to your database. Hope this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;MuraliRam&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Feb 2012 03:11:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103987#M72581</guid>
      <dc:creator>muraliram</dc:creator>
      <dc:date>2012-02-19T03:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103988#M72582</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks! It was very helpful. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my opinion there should be some information about this in the user guide. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used 5.1 and in that version there was separate db files and it was easy to find out how to do it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;/henrik&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Feb 2012 20:44:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103988#M72582</guid>
      <dc:creator>henrik1</dc:creator>
      <dc:date>2012-02-26T20:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103989#M72583</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank Muraliram!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I post my technique to change the default database to mysql. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: this is working with activity 5.8&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do the following step&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 01: make sure the file: {activiti-home}/setup/build.db.properties has the contents like below&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;db=mysql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.driver=com.mysql.jdbc.Driver&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.url=jdbc:mysql://localhost:3306/activiti&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.username=root&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;jdbc.password=password&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 02: create sql file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; just need to duplicate the file h2.data.sql in directory: {activiti-home}/setup/files/demo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and change file name to mysql.data.sql&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 03(optional): if you want to use the custom tomcat instead of the default tomcat&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;open the file {activiti-home}/setup/build.properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;look for download.dir entry and change the value to the directory which contains file apache-tomcat-{your-version}.zip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 04: copy mysql-connector-java-5.1.6.jar to the listed directory below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; + {activiti-home}/setup/files/dependencies&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; and also add this line to file {activiti-home}/workspace/activiti-engine-examples/.classpath&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;classpathentry kind="lib" path="libs-runtime/mysql-connector-java-5.1.6.jar"/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; modify the listed text file below to add "mysql-connector-java-5.1.6.jar":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - {activiti-home}/setup/files/dependencie/libs.engine.test.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - {activiti-home}/setup/files/dependencie/libs.webapp.explorer.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - {activiti-home}/setup/files/dependencie/libs.webapp.rest.txt&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 05: modify the {activiti-home}/setup/build.xml file&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; + looking for the target demo.start and delete(delete or disable are also suitable) the depends: h2.start&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; + looking for the target demo.install and comment out the following tags:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;antcall target="h2.install" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;antcall target="h2.start" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;antcall target="h2.stop" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 06: run ant script demo.start&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; - step 07: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; + change {activiti-home}/apps/apache-tomcat-6.0.32/webapps/activiti-rest/WEB-INF/classes/activiti.cfg.xml point to mysql&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I suspect step 07 can be omitted by the other ways, maybe change some configuration file in somewhere.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Mar 2012 10:57:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103989#M72583</guid>
      <dc:creator>mr_mister</dc:creator>
      <dc:date>2012-03-11T10:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default database</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103990#M72584</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can check this for change h2 database &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="http://blog.rehanpathan.com/change-database-from-h2-to-mysql-in-activiti/" rel="nofollow noopener noreferrer"&gt;http://blog.rehanpathan.com/change-database-from-h2-to-mysql-in-activiti/&lt;/A&gt;&lt;SPAN&gt;" &amp;gt;change database from h2 to mysql&amp;lt;/&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 20 Jul 2013 16:31:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-change-the-default-database/m-p/103990#M72584</guid>
      <dc:creator>rehan1</dc:creator>
      <dc:date>2013-07-20T16:31:38Z</dc:date>
    </item>
  </channel>
</rss>

