<?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: MySQL database other than 'alfresco' in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119320#M84125</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nice catch.&amp;nbsp; You're absolutely right about the grants, but unfortunately that was a typo in my cleaning up the sql for the post.&amp;nbsp; I had the db names matching during each of my failed install attempts against mysql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone else run Alfresco with a MySQL database name other than 'alfresco'??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Sep 2007 18:24:58 GMT</pubDate>
    <dc:creator>cflong</dc:creator>
    <dc:date>2007-09-10T18:24:58Z</dc:date>
    <item>
      <title>MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119317#M84122</link>
      <description>While installing Alfresco Community 2.1 from the community-tomcat package, I have been unable to successfully connect to a mysql db named anything other than "alfresco".I have attempted to set this with the db.url variable in custom-repository.properties as such:db.username=testuserdb.password=passw</description>
      <pubDate>Mon, 10 Sep 2007 17:05:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119317#M84122</guid>
      <dc:creator>cflong</dc:creator>
      <dc:date>2007-09-10T17:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119318#M84123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some of the errors seen when connecting to "aflresco_test" database&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;10:08:26,433 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instan&lt;BR /&gt;ce of class org.alfresco.web.app.ContextListener&lt;BR /&gt;org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dictionaryRepositoryBootstrap'&lt;BR /&gt; defined in class path resource [alfresco/core-services-context.xml]: Invocation of init method failed; nested excepti&lt;BR /&gt;on is org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRep&lt;BR /&gt;ositoryBootstrap$1@1abfd68&lt;BR /&gt;Caused by:&lt;BR /&gt;org.alfresco.error.AlfrescoRuntimeException: Failure during rollback: org.alfresco.repo.dictionary.DictionaryRepositor&lt;BR /&gt;yBootstrap$1@1abfd68&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:281)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:155)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at org.alfresco.repo.dictionary.DictionaryRepositoryBootstrap.bootstrap(DictionaryRepositoryBootstrap.java:134&lt;BR /&gt;)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;.&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;/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;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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 17:08:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119318#M84123</guid>
      <dc:creator>cflong</dc:creator>
      <dc:date>2007-09-10T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119319#M84124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Looks to me like your problem is in the two 'grant' instructions used to set up the database:&amp;nbsp; it should be something like this instead:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;create database alfresco_test; &lt;BR /&gt;grant all on `alfresco_test`.* to 'testuser'@'localhost' identified by 'password' with grant option; &lt;BR /&gt;grant all on `alfresco_test`.* to 'testuser'@'localhost.localdomain' identified by 'password' with grant option; &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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 18:13:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119319#M84124</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-09-10T18:13:37Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119320#M84125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nice catch.&amp;nbsp; You're absolutely right about the grants, but unfortunately that was a typo in my cleaning up the sql for the post.&amp;nbsp; I had the db names matching during each of my failed install attempts against mysql.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone else run Alfresco with a MySQL database name other than 'alfresco'??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Sep 2007 18:24:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119320#M84125</guid>
      <dc:creator>cflong</dc:creator>
      <dc:date>2007-09-10T18:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119321#M84126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Does anyone else run Alfresco with a MySQL database name other than 'alfresco'??&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, me.&amp;nbsp; One of my instances is called `alfresco$2_1$a` for example.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Sep 2007 00:44:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119321#M84126</guid>
      <dc:creator>sacco</dc:creator>
      <dc:date>2007-09-12T00:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: MySQL database other than 'alfresco'</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119322#M84127</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;Hi can confirm and subscribe all the suggestions from sacco…&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only thing we have to do to run Alfresco2.1 with a Mysql database with the names of the schema and user different from the default ones is to modify the file custom-repository.properties as the following one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;&lt;BR /&gt;db.username=alfresco_2_1&lt;BR /&gt;db.password=alfresco_2_1&lt;BR /&gt;db.pool.initial=10&lt;BR /&gt;db.pool.max=100&lt;BR /&gt;&lt;BR /&gt;………..&lt;BR /&gt;db.url=jdbc:mysql://localhost:3309/alfresco_2_1&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;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;It does not matter to modify the repository.properties file in the web-app folder because the custom-repository.properties overwrites the default configuration. So, only one file to customize in order to have Alfresco using a database with custom name for the schema and user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The DDL for creating the database, user and grants is the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;create database alfresco_2_1;&lt;BR /&gt;grant all on alfresco_2_1.* to 'alfresco_2_1'@'localhost' identified by 'alfresco_2_1' with grant option;&lt;BR /&gt;grant all on alfresco_2_1.* to 'alfresco_2_1'@'localhost.localdomain' identified by 'alfresco_2_1' with grant option;&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;/CODE&gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Just the same reported in the Alfresco documentation….&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Obviously, if the mysql port is not the default one (3306), we have to specify the new port number into the db.url parameter, as the previous example. It is a common mistake not to indicate the port number when different from default.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All the best,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sergio&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Sep 2007 08:09:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/mysql-database-other-than-alfresco/m-p/119322#M84127</guid>
      <dc:creator>sergio</dc:creator>
      <dc:date>2007-09-26T08:09:56Z</dc:date>
    </item>
  </channel>
</rss>

