<?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: Dialect Database MariaDB in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82306#M25311</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps to use MariaDB are pretty simple:&lt;/P&gt;&lt;P&gt;1) Create an empty database for Alfresco in MariaDB&lt;/P&gt;&lt;P&gt;2) Include the right settings in "alfresco-global.properties"&lt;/P&gt;&lt;P&gt;3) Copy the JAR file to "tomcat/lib"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps are (still) the same described for MySQL: &lt;A class="link-titled" href="https://pristinecrap.com/2012/06/19/alfresco-using-mysql-instead-of-postgresql/" title="https://pristinecrap.com/2012/06/19/alfresco-using-mysql-instead-of-postgresql/" rel="nofollow noopener noreferrer"&gt;Alfresco – Using MySQL instead of PostgreSQL |&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Jun 2019 15:26:27 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2019-06-07T15:26:27Z</dc:date>
    <item>
      <title>Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82297#M25302</link>
      <description>Hi,it is the first time I install Alfresco Community and therefore I apologize for my inaccuracies.The data are Alfresco Community 6.1 on CentOS 7 with MariaDB 10.3 on the same host.For the installation I followed the documentation, I had some difficulties but I went on until now.When I start Tomcat</description>
      <pubDate>Thu, 06 Jun 2019 12:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82297#M25302</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-06T12:17:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82298#M25303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Follow these steps:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://github.com/keensoft/docker-alfresco/wiki/Using-MariaDB-instead-of-PostgreSQL-as-database" title="https://github.com/keensoft/docker-alfresco/wiki/Using-MariaDB-instead-of-PostgreSQL-as-database" rel="nofollow noopener noreferrer"&gt;Using MariaDB instead of PostgreSQL as database · keensoft/docker-alfresco Wiki · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are not using Docker, then just include following values in your &lt;STRONG&gt;alfresco-global.properties&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-none line-numbers"&gt;&lt;CODE&gt;db.driver=org.mariadb.jdbc.Driver&lt;BR /&gt;db.username=alfresco&lt;BR /&gt;db.password=alfresco&lt;BR /&gt;db.url=jdbc:mariadb://db:3306/alfresco?useUnicode=true\&amp;amp;characterEncoding=UTF-8&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 12:23:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82298#M25303</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-06-06T12:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82299#M25304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks but nothing !!!&lt;BR /&gt;In alfresco-global.properties I have replaced these lines&lt;/P&gt;&lt;P&gt;#db.driver=com.mysql.jdbc.Driver&lt;BR /&gt;#db.url=jdbc:mysql://${db.host}:${db.port}/${db.name}?useUnicode=yes&amp;amp;characterEncoding=UTF-8&lt;/P&gt;&lt;P&gt;with&lt;/P&gt;&lt;P&gt;db.driver=org.mariadb.jdbc.Driver&lt;BR /&gt;db.url=jdbc:mariadb://${db.host}:${db.port}/${db.name}?useUnicode=true\&amp;amp;characterEncoding=UTF-8&lt;/P&gt;&lt;P&gt;but the error remains the same:&lt;/P&gt;&lt;P&gt;Error creating bean with name 'dialect': FactoryBean threw exception on ob&lt;BR /&gt;ject creation; nested exception is java.lang.IllegalArgumentException: Dialect must be explicitly set for database: MariaDB&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2019 13:01:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82299#M25304</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-06T13:01:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82300#M25305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you copy MariaDB Connector/J library to "tomcat/lib"?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:10:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82300#M25305</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-06-07T07:10:08Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82301#M25306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;yes, I copied MariaDB Connector/J library to tomcat/lib and to tomcat/shared/lib/&lt;BR /&gt;I think Alfresco can connect to the DB, because if I mistake the password in the alfresco-global.properties file, the error changes and becomes:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Failed to obtain JDBC Connection; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Access denied for user 'alfresco'@'localhost' (using password: YES))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:33:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82301#M25306</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-07T07:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82302#M25307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So now the problem is that MySQL is not configured to be accessed from "localhost".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Probably this can help: &lt;A class="link-titled" href="https://mariadb.com/kb/en/library/grant/" title="https://mariadb.com/kb/en/library/grant/" rel="nofollow noopener noreferrer"&gt;GRANT - MariaDB Knowledge Base&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 07:38:28 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82302#M25307</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-06-07T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82303#M25308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, no, I had only done a test to mistake the password on purpose to verify that Alfresco arrived, and connected, to the DB !!!&lt;BR /&gt;By putting the right password again, the "old" error returns.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 08:13:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82303#M25308</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-07T08:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82304#M25309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I overcame the rock, the problem was that I had installed a connector too recent (mariadb-java-client-2.4.1.jar) and the platform didn't support it and so I installed the mariadb-java-client-2.2.5 connector. jar.&lt;BR /&gt;The problem is that I always have an error even though it has changed, now it is:&lt;/P&gt;&lt;P&gt;Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'boolean' for property 'disabled'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${sample.site.disabled}]&lt;BR /&gt; at org.springframework.beans.AbstractNestablePropertyAccessor.convertIfNecessary(AbstractNestablePropertyAccessor.java:595)&lt;BR /&gt; at org.springframework.beans.AbstractNestablePropertyAccessor.convertForProperty(AbstractNestablePropertyAccessor.java:604)&lt;BR /&gt; at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:219)&lt;BR /&gt; at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1697)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 13:32:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82304#M25309</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-07T13:32:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82305#M25310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wow... I didn't believe it but it's really hard !!!&lt;BR /&gt;I also passed the second obstacle, inserting it into the file alfresco-global.properties&lt;/P&gt;&lt;P&gt;sample.site.disabled=true&lt;/P&gt;&lt;P&gt;and when I restarted everything went ok, the DB was created, I have only a few errors because I still have to install additional software like LibreOffice.&lt;BR /&gt;All happy, I enter the url http://&amp;lt;hostname_server&amp;gt;:8080/share in the browser.... and anything.... the page is waiting but nothing appears !!!&lt;BR /&gt;Before I had blocking errors but at least the http://&amp;lt;hostname_server&amp;gt;:8080/share page appeared to me.&lt;BR /&gt;On Catalin.out I don't see anything, it doesn't even register browser calls but my pc arrives on the server because if I do:&lt;/P&gt;&lt;P&gt;telnet &amp;lt;hostname_server&amp;gt; 8080&lt;BR /&gt;Trying 172.16.100.23...&lt;BR /&gt;Connected to prot01prdpom.home.coop.&lt;BR /&gt;Escape character is '^]'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm going crazy...... help me !!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:11:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82305#M25310</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-07T15:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82306#M25311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't understand what the problem is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps to use MariaDB are pretty simple:&lt;/P&gt;&lt;P&gt;1) Create an empty database for Alfresco in MariaDB&lt;/P&gt;&lt;P&gt;2) Include the right settings in "alfresco-global.properties"&lt;/P&gt;&lt;P&gt;3) Copy the JAR file to "tomcat/lib"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And it's done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The steps are (still) the same described for MySQL: &lt;A class="link-titled" href="https://pristinecrap.com/2012/06/19/alfresco-using-mysql-instead-of-postgresql/" title="https://pristinecrap.com/2012/06/19/alfresco-using-mysql-instead-of-postgresql/" rel="nofollow noopener noreferrer"&gt;Alfresco – Using MySQL instead of PostgreSQL |&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2019 15:26:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82306#M25311</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2019-06-07T15:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: Dialect Database MariaDB</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82307#M25312</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;BR /&gt;so, the problem with MariaDB I overcame, the problem was that I had installed a too "recent" connector (mariadb-java-client-2.4.1.jar) and the platform didn't support it and so I installed the mariadb-java-client-2.2.5 connector.&lt;/P&gt;&lt;P&gt;Then, I had the problem with Sample Site:&lt;/P&gt;&lt;P&gt;Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'boolean' for property 'disabled'; nested exception is java.lang.IllegalArgumentException: Invalid boolean value [${sample.site.disabled}].....&lt;/P&gt;&lt;P&gt;And this too I solved by inserting&lt;/P&gt;&lt;P&gt;sample.site.disabled=true&lt;/P&gt;&lt;P&gt;in the alfresco-global.properties file.&lt;/P&gt;&lt;P&gt;Now, when I restarted everything went ok, the DB was created, I have only a few errors because I still have to install additional software like LibreOffice but when I enter the url http://&amp;lt;hostname_server&amp;gt;:8080/share (or http://&amp;lt;hostname_server&amp;gt;:8080/alfresco), in the browser.... nothing.... the page is waiting but nothing appears !!!&lt;BR /&gt;On the log Catalin.out I don't see anything, it doesn't even register browser calls but my pc arrives on the server because if I do:&lt;/P&gt;&lt;P&gt;telnet &amp;lt;hostname_server&amp;gt; 8080&lt;BR /&gt;Trying 172.16.100.23...&lt;BR /&gt;Connected to prot01prdpom.home.coop.&lt;BR /&gt;Escape character is '^]'.&lt;/P&gt;&lt;P&gt;I hope I was clearer !!&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 07:55:46 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/dialect-database-mariadb/m-p/82307#M25312</guid>
      <dc:creator>el_stefano</dc:creator>
      <dc:date>2019-06-10T07:55:46Z</dc:date>
    </item>
  </channel>
</rss>

