<?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 database user ? in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106548#M30064</link>
    <description>&lt;P&gt;Are you using MySQL?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/more-than-one-alfresco-schema-on-export-restore-db/td-p/166426" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/more-than-one-alfresco-schema-on-export-restore-db/td-p/166426&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Jun 2020 09:43:22 GMT</pubDate>
    <dc:creator>angelborroy</dc:creator>
    <dc:date>2020-06-26T09:43:22Z</dc:date>
    <item>
      <title>How to change database user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106547#M30063</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I installed an Alfresco 5.2 on Linux connected to a Postgres database installed on another server.&lt;BR /&gt;2 users have been created for the database:&lt;BR /&gt;dba_gedmut_alfresco: total rights to the alfresco scheme (CREATE / USAGE)&lt;BR /&gt;usr_gedmut_alfresco: classic rights (USE)&lt;/P&gt;&lt;P&gt;At the first launch, I use the user dba_gedmut_alfresco on alfresco-global.properties&lt;BR /&gt;so that it creates the structure of the schema with the tables and sequences.&lt;BR /&gt;Alfresco starts, everything is fine.&lt;/P&gt;&lt;P&gt;Now I have to switch to the user usr_gedmut_alfresco so that he can use the schema&lt;BR /&gt;without other permissions.&lt;BR /&gt;So i change in alfresco-global.properties.&lt;/P&gt;&lt;P&gt;Alfresco crashes at startup:&lt;BR /&gt;Caused by: org.alfresco.error.AlfrescoRuntimeException: 05260000&lt;BR /&gt;More than one Alfresco schema was found when querying the database metadata.&lt;BR /&gt;Limit the database user's permissions or set the 'hibernate.default_schema' property in 'custom-hibernate-dialect.properties'.&lt;/P&gt;&lt;P&gt;No matter how much I search the net for a solution, no one says how to change the database user.&lt;/P&gt;&lt;P&gt;FYI, I deleted all SOLR indexes before relaunching but it didn't change anything, same error.&lt;/P&gt;&lt;P&gt;Anyone know how to change the database user?&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:38:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106547#M30063</guid>
      <dc:creator>jeremiebal</dc:creator>
      <dc:date>2020-06-26T09:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change database user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106548#M30064</link>
      <description>&lt;P&gt;Are you using MySQL?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/more-than-one-alfresco-schema-on-export-restore-db/td-p/166426" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/more-than-one-alfresco-schema-on-export-restore-db/td-p/166426&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 09:43:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106548#M30064</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2020-06-26T09:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to change database user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106549#M30065</link>
      <description>&lt;P&gt;Hi Angelborroy and thanks to answer me.&lt;BR /&gt;&lt;BR /&gt;No, as i mentioned it, it's Postgres.&lt;/P&gt;&lt;P&gt;Contrary to what is written in the link page, it is not part of an export / import.&lt;BR /&gt;The base is the same and has 2 known users at Postgres level.&lt;BR /&gt;But only dba_gedmut_alfresco works. It was he who initialized the base.&lt;BR /&gt;When I change in alfresco-global.properties the user dba_gedmut_alfresco by usr_gedmut_alfresco, I get this error as if this user was looking for another scheme.&lt;BR /&gt;Ah yes, for information, the whole structure, tables, sequences, are in lower case.&lt;/P&gt;&lt;P&gt;Ps : excuse for my english, i'm french ^^&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 13:49:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106549#M30065</guid>
      <dc:creator>jeremiebal</dc:creator>
      <dc:date>2020-06-26T13:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to change database user ?</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106550#M30066</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/15153"&gt;@jeremiebal&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;Does this new postgres user have rights re: sequences? You wrote that the new user:&lt;/P&gt;
&lt;PRE&gt;user usr_gedmut_alfresco so that he can use the schema without other permissions.&lt;/PRE&gt;
&lt;P&gt;The user &lt;A href="https://docs.alfresco.com/5.2/tasks/postgresql-config.html" target="_self" rel="nofollow noopener noreferrer"&gt;must have write rights on sequences&lt;/A&gt;. Can you check that&amp;nbsp;usr_gedmut_alfresco has these permissions?&lt;/P&gt;
&lt;P&gt;HTH,&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 17:00:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/how-to-change-database-user/m-p/106550#M30066</guid>
      <dc:creator>EddieMay</dc:creator>
      <dc:date>2020-06-26T17:00:04Z</dc:date>
    </item>
  </channel>
</rss>

