<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>KB-1980 REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table</link><description /><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>KB-1980 REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table</link><pubDate>Fri, 23 Aug 2019 02:53:18 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Current Revision posted to Appian Knowledge Base by Parmida Borhani on 8/23/2019 2:53:18 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;Grant &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; full permissions on the &lt;code&gt;&amp;lt;schema&amp;gt;&lt;/code&gt; for the Appian primary database. Eg, for MySQL this can be done with the following query: &lt;code&gt;GRANT ALL ON &amp;lt;schema&amp;gt;.* TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last Reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>KB-1980 REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/26</link><pubDate>Fri, 23 Aug 2019 02:51:29 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 26 posted to Appian Knowledge Base by Parmida Borhani on 8/23/2019 2:51:29 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;Grant &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; full permissions on the &lt;code&gt;&amp;lt;schema&amp;gt;&lt;/code&gt; for the Appian primary database. Eg, for MySQL this can be done with the following query: &lt;code&gt;GRANT ALL ON &amp;lt;schema&amp;gt;.* TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>KB-1980 REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/25</link><pubDate>Fri, 23 Aug 2019 02:51:03 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Parmida Borhani</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 25 posted to Appian Knowledge Base by Parmida Borhani on 8/23/2019 2:51:03 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;Grant &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; full permissions on the &lt;code&gt;&amp;lt;schema&amp;gt;&lt;/code&gt; for the Appian primary database. Eg, for MySQL this can be done with the following query:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT ALL ON &amp;lt;schema&amp;gt;.* TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/24</link><pubDate>Thu, 22 Aug 2019 03:21:07 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 24 posted to Appian Knowledge Base by Yahya Jideh on 8/22/2019 3:21:07 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;Grant &lt;code&gt;&amp;lt;user&amp;gt;&lt;/code&gt; full permissions on the &lt;code&gt;&amp;lt;schema&amp;gt;&lt;/code&gt; for the Appian primary database. Eg, for MySQL this can be done with the following query:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT ALL ON &amp;lt;schema&amp;gt;.* TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/23</link><pubDate>Thu, 22 Aug 2019 03:16:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 23 posted to Appian Knowledge Base by Yahya Jideh on 8/22/2019 3:16:30 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;Grant &amp;lt;user&amp;gt; full permissions on the schema for the primary database. Eg, for MySQL this can be done with the following query:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT ALL ON &amp;lt;schema&amp;gt;.* TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/22</link><pubDate>Wed, 21 Aug 2019 05:32:55 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 22 posted to Appian Knowledge Base by Yahya Jideh on 8/21/2019 5:32:55 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;The RDBMS user connecting to the primary database does not have sufficient permissions. These permissions might have changed as a result of upgrading the RDBMS.&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/21</link><pubDate>Tue, 20 Aug 2019 02:13:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 21 posted to Appian Knowledge Base by Yahya Jideh on 8/20/2019 2:13:31 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the application server is unable to start and the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/20</link><pubDate>Mon, 19 Aug 2019 06:46:30 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 20 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 6:46:30 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;After upgrading Appian, the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/19</link><pubDate>Mon, 19 Aug 2019 06:03:58 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 19 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 6:03:58 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, installation&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/18</link><pubDate>Mon, 19 Aug 2019 05:59:44 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 18 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:59:44 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;Last reviewed: August 2019&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/17</link><pubDate>Mon, 19 Aug 2019 05:58:02 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 17 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:58:02 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Stop the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/16</link><pubDate>Mon, 19 Aug 2019 05:57:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 16 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:57:45 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shut down the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/15</link><pubDate>Mon, 19 Aug 2019 05:57:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 15 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:57:13 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Start the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/14</link><pubDate>Mon, 19 Aug 2019 05:56:36 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 14 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:56:36 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Execute the following query on the database:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/13</link><pubDate>Mon, 19 Aug 2019 05:55:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 13 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:55:43 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the application server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/12</link><pubDate>Mon, 19 Aug 2019 05:55:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 12 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:55:05 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;The following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/11</link><pubDate>Mon, 19 Aug 2019 05:54:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 11 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 5:54:40 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In the application server log,&amp;nbsp;the following is observed in the application server log:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/10</link><pubDate>Mon, 19 Aug 2019 00:38:57 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 10 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 12:38:57 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In the application server log, you will see the following:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/9</link><pubDate>Mon, 19 Aug 2019 00:37:16 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 9 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 12:37:16 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In the application server log, you will see the following:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, how-to&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/8</link><pubDate>Mon, 19 Aug 2019 00:36:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 8 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 12:36:39 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;p&gt;In the application server log, you will see the following:&lt;/p&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3 again.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;

&lt;div style="font-size: 90%;"&gt;Tags: database, how-to&lt;/div&gt;
</description></item><item><title>DRAFT KB-XXXX REFERENCES command denied to user '&lt;user&gt;'@'&lt;host&gt;' for table '&lt;schema&gt;.&lt;table&gt;'</title><link>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table/revision/7</link><pubDate>Mon, 19 Aug 2019 00:31:12 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:1f963cef-c316-4a9d-99c8-8830b89c7292</guid><dc:creator>Yahya Jideh</dc:creator><comments>https://community.appian.com/support/w/kb/1499/kb-1980-references-command-denied-to-user-user-host-for-table-schema-table#comments</comments><description>Revision 7 posted to Appian Knowledge Base by Yahya Jideh on 8/19/2019 12:31:12 AM&lt;br /&gt;
&lt;h2&gt;Symptoms&lt;/h2&gt;
&lt;pre class="java" style="white-space:pre-wrap;"&gt;ERROR liquibase.changelog.ChangeSet - Change Set db-changelog-000168-api-key-table.xml::000168.1.2::appian failed.&amp;nbsp; Error: REFERENCES command denied to user &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39; for table &amp;#39;&amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;&amp;#39; [Failed SQL: ALTER TABLE &amp;lt;schema&amp;gt;.api_key ADD CONSTRAINT api_key_usrid_fk FOREIGN KEY (usr_id) REFERENCES &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; (id)&lt;/pre&gt;
&lt;h2&gt;Cause&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;The &lt;code&gt;REFERENCES&lt;/code&gt; permission might have changed due to a possible database upgrade (application version upgrade).&lt;/span&gt;&lt;/p&gt;
&lt;h2&gt;Action&lt;/h2&gt;
&lt;ol&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Shutdown the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;DBA will need to execute the following query:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;pre class="java"&gt;GRANT REFERENCES ON &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt; TO &amp;#39;&amp;lt;user&amp;gt;&amp;#39;@&amp;#39;&amp;lt;host&amp;gt;&amp;#39;;&lt;/pre&gt;
&lt;ol start="3"&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;Restart the app server.&lt;/span&gt;&lt;/li&gt;
&lt;li style="font-weight:400;"&gt;&lt;span style="font-weight:400;"&gt;If the same error is thrown for another table, repeat steps 1-3 again.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;Affected Versions&lt;/h2&gt;
&lt;p&gt;&lt;span style="font-weight:400;"&gt;This article applies to all versions of Appian.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>