<?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: database username and current scheme dont match in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541406#M20973</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no "correct" schema, just a matching one.&amp;nbsp; For example, if I create a login "qcuser", then the username in all databases in which I intend to create geodata is "qcuser" and the schema will be "qcuser". The rules aren't as strict when users will only be &lt;EM&gt;using&lt;/EM&gt; data created under other users, but I loathe the ability to randomly map users and schemas, and refuse to make my databases that chaotic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Mar 2015 01:53:55 GMT</pubDate>
    <dc:creator>VinceAngelo</dc:creator>
    <dc:date>2015-03-10T01:53:55Z</dc:date>
    <item>
      <title>database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541403#M20970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What exactly does this error mean and what do i have to do to stop getting it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is a sql server 2008,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Asrujit SenGupta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 17:53:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541403#M20970</guid>
      <dc:creator>RandallClark1</dc:creator>
      <dc:date>2015-03-09T17:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schme dont match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541404#M20971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It means that your database table owner is not the same as the login user.&amp;nbsp; You don't say what database you're using, but the non-Oracle databases permit "login foo" to be mapped to "schema bar" in database X, but since the geodatabase registry works off of login name, it can't tell who the rightful owner is (well, it could, but it would make every other operation so slow, the net result would be useless).&amp;nbsp; So enterprise geodatabases require that the owner schema must be the same as the owner user, which must be the same as the login user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You'll need to reload the data to clear this error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: Please edit your post ("Edit" menu choice on the upper right), so that "schme dont" is "schema don't", so others can use the exact error message to locate this question.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 21:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541404#M20971</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-03-09T21:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current scheme dont match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541405#M20972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi vince,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. the database is sql server 2008.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so how is that i can make a feature data set with no problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and how do i determine what the correct schema is?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 01:05:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541405#M20972</guid>
      <dc:creator>RandallClark1</dc:creator>
      <dc:date>2015-03-10T01:05:18Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current scheme dont match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541406#M20973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is no "correct" schema, just a matching one.&amp;nbsp; For example, if I create a login "qcuser", then the username in all databases in which I intend to create geodata is "qcuser" and the schema will be "qcuser". The rules aren't as strict when users will only be &lt;EM&gt;using&lt;/EM&gt; data created under other users, but I loathe the ability to randomly map users and schemas, and refuse to make my databases that chaotic.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 01:53:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541406#M20973</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2015-03-10T01:53:55Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current scheme dont match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541407#M20974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To add on to what Vince said, this is from Help Documentation for 10.2.x for database authentication&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5&gt;DB Authentication:&lt;/H5&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;14. If the user requires a matching schema (for example, the user will own data in the geodatabase), type the schema name in the Default schema field. Remember, the user name and schema name must be the same if this user is going to own data.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Adding_database_authenticated_logins_to_a_SQL_Server_database/002q0000002m000000/"&gt;Adding database-authenticated logins to a SQL Server database&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H5&gt;Windows Authentication:&lt;/H5&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;&lt;P&gt;14. If you are adding an individual login rather than a group, and the user will own data in the geodatabase, type the schema name in the Default schema field. Remember, the user name and schema name must be the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;For Windows groups, a matching schema will be created for any group member the first time the user creates data in the geodatabase. The schema name will be the same as the login name, not the name of the group. This is done automatically; you do not have to create the schema ahead of time.&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Adding_Windows_authenticated_logins_or_groups_to_a_SQL_Server_database/002q00000029000000/"&gt;Adding Windows-authenticated logins or groups to a SQL Server database&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps clear up any confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-George&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/group/1680"&gt;Geodatabase&lt;/A&gt;​ &lt;A href="https://community.esri.com/space/2050"&gt;Managing Data&lt;/A&gt;​&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 12:04:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541407#M20974</guid>
      <dc:creator>George_Thompson</dc:creator>
      <dc:date>2015-03-10T12:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541408#M20975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As a further note I also found out that the schema name and user name must also match case. I had user "UserA" who was mapped to a schema "usera" and I got this error. Once I dropped the schema and recreated it as "UserA" the error went away.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 16:51:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541408#M20975</guid>
      <dc:creator>DrewDowling</dc:creator>
      <dc:date>2018-08-14T16:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541409#M20976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;On some (most?) databases, uppercase schema names are not permitted at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Aug 2018 16:55:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541409#M20976</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2018-08-14T16:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541410#M20977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SQL server seems to allow mixed by default, at least in my experience. I'm guessing since the default collation is case insensitive but don't know for sure. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Aug 2018 14:23:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541410#M20977</guid>
      <dc:creator>DrewDowling</dc:creator>
      <dc:date>2018-08-20T14:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541411#M20978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I strongly disagree with your premise on "&lt;SPAN style="background-color: #ffffff;"&gt;I loathe the ability to randomly map users and schema&lt;/SPAN&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we're actually doing is logically&amp;nbsp;managing and categorising data inside&amp;nbsp;our databases. As that is the number 1 purpose of a database I find it nonsense to say "Anyone creating tables or objects in a database must create them inside their own user schema".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The choice of schema should be given to the user who is creating the object in order to avoid creating a chaotic database where no one knows where data is or how to find it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Consequently, I'd love to see a feature letting&amp;nbsp;us choose which schema to create our objects in. As noted throughout this thread the databases operate in this model so I don't understand why it's so hard to adopt their practice and include a text field "schema"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2019 04:24:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541411#M20978</guid>
      <dc:creator>MatthewRyan2</dc:creator>
      <dc:date>2019-09-25T04:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541412#M20979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes! Absolutely agree. The fact that we cannot choose the schema we are using when attempting to load data is absurd. This is made even more difficult when attempting to render a table that was not created from ArcMap, as the 'Shape Integrity' error now appears regardless of actual shape integrity.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2019 17:56:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/541412#M20979</guid>
      <dc:creator>KatherineBarton</dc:creator>
      <dc:date>2019-09-27T17:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: database username and current schema don't match</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/1151542#M32677</link>
      <description>&lt;P&gt;Found some doc on the above:&lt;/P&gt;&lt;P&gt;&lt;A title="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/dbms-support.htm" href="https://pro.arcgis.com/en/pro-app/latest/help/data/databases/dbms-support.htm" target="_blank" rel="noreferrer noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/help/data/databases/dbms-support.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Although&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PostgreSQL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;allows user accounts to write data to schemas of any name, ArcGIS requires that user accounts that create tables, views, or other objects in the database have identical user names and schema names. For example, you cannot connect from ArcGIS with the user name vlad and write to the public schema.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 23:15:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/database-username-and-current-schema-don-t-match/m-p/1151542#M32677</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2022-03-07T23:15:09Z</dc:date>
    </item>
  </channel>
</rss>

