<?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: CMC metadata creation failed com.incorta.database.upgrade.UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION in Administrative Discussions</title>
    <link>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3422#M68</link>
    <description>&lt;P&gt;We need to do following changes to resolve this error. In /etc/mysql/mysql.cnf file. Take a backup first of mysql.cnf . At first line add [mysqld] and at end add&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sql-mode="ONLY_FULL_GROUP_BY,&lt;/SPAN&gt;&lt;SPAN&gt;STRICT_TRANS_TABLES,ERROR_FOR_&lt;/SPAN&gt;&lt;SPAN&gt;DIVISION_BY_ZERO,NO_AUTO_&lt;/SPAN&gt;&lt;SPAN&gt;CREATE_USER,NO_ENGINE_&lt;/SPAN&gt;&lt;SPAN&gt;SUBSTITUTION"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;mysqld&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;!includedir /etc/mysql/conf.d/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;!includedir /etc/mysql/mysql.conf.d/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sql-mode="ONLY_FULL_GROUP_BY,&lt;/SPAN&gt;&lt;SPAN&gt;STRICT_TRANS_TABLES,ERROR_FOR_&lt;/SPAN&gt;&lt;SPAN&gt;DIVISION_BY_ZERO,NO_AUTO_&lt;/SPAN&gt;&lt;SPAN&gt;CREATE_USER,NO_ENGINE_&lt;/SPAN&gt;&lt;SPAN&gt;SUBSTITUTION"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Save the changes , start the mysql with systemctl stop mysql.service and then start it with systemctl start mysql.service . You can see the status of mysql.service by systemctl status mysql.service &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once mysql database is up and running, you can drop the "Incorta_metadata" and then recreate it and then run the CMC steps once again. It will run without any issues this time.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Nov 2022 01:22:10 GMT</pubDate>
    <dc:creator>Rajanish</dc:creator>
    <dc:date>2022-11-29T01:22:10Z</dc:date>
    <item>
      <title>CMC metadata creation failed com.incorta.database.upgrade.UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION</title>
      <link>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3349#M67</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;OS : Ubuntu&lt;/P&gt;&lt;P&gt;Trying to install Incorta with CMC in CMC getting this error .&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;com.incorta.database.upgrade.&lt;/SPAN&gt;&lt;SPAN&gt;UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION. Please find attached full error stack.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Nov 2022 07:54:37 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3349#M67</guid>
      <dc:creator>Rajanish</dc:creator>
      <dc:date>2022-11-24T07:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: CMC metadata creation failed com.incorta.database.upgrade.UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION</title>
      <link>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3422#M68</link>
      <description>&lt;P&gt;We need to do following changes to resolve this error. In /etc/mysql/mysql.cnf file. Take a backup first of mysql.cnf . At first line add [mysqld] and at end add&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sql-mode="ONLY_FULL_GROUP_BY,&lt;/SPAN&gt;&lt;SPAN&gt;STRICT_TRANS_TABLES,ERROR_FOR_&lt;/SPAN&gt;&lt;SPAN&gt;DIVISION_BY_ZERO,NO_AUTO_&lt;/SPAN&gt;&lt;SPAN&gt;CREATE_USER,NO_ENGINE_&lt;/SPAN&gt;&lt;SPAN&gt;SUBSTITUTION"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;mysqld&lt;/SPAN&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;!includedir /etc/mysql/conf.d/&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;!includedir /etc/mysql/mysql.conf.d/&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;sql-mode="ONLY_FULL_GROUP_BY,&lt;/SPAN&gt;&lt;SPAN&gt;STRICT_TRANS_TABLES,ERROR_FOR_&lt;/SPAN&gt;&lt;SPAN&gt;DIVISION_BY_ZERO,NO_AUTO_&lt;/SPAN&gt;&lt;SPAN&gt;CREATE_USER,NO_ENGINE_&lt;/SPAN&gt;&lt;SPAN&gt;SUBSTITUTION"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Save the changes , start the mysql with systemctl stop mysql.service and then start it with systemctl start mysql.service . You can see the status of mysql.service by systemctl status mysql.service &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Once mysql database is up and running, you can drop the "Incorta_metadata" and then recreate it and then run the CMC steps once again. It will run without any issues this time.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 01:22:10 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3422#M68</guid>
      <dc:creator>Rajanish</dc:creator>
      <dc:date>2022-11-29T01:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: CMC metadata creation failed com.incorta.database.upgrade.UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION</title>
      <link>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3427#M69</link>
      <description>&lt;P&gt;&lt;a href="https://community.incorta.com/t5/user/viewprofilepage/user-id/533"&gt;@Rajanish&lt;/a&gt; - Thanks for sharing the solution back to the thread!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Nov 2022 17:42:12 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/3427#M69</guid>
      <dc:creator>JoeM</dc:creator>
      <dc:date>2022-11-29T17:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: CMC metadata creation failed com.incorta.database.upgrade.UpgraderException: INC_05200000: Failed to update the metadata database. Upgrade db metatdata failed due to DB script number [52], query has an issue [CREATE TABLE `DASHBOARD_PERSONALIZATION</title>
      <link>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/4378#M140</link>
      <description>&lt;P&gt;Just a small addition that we don't need to delete the meta db the trick is in MYSQL version&amp;nbsp;&lt;/P&gt;
&lt;P data-renderer-start-pos="5937"&gt;Incorta currently uses &lt;CODE class="code css-z5oxh7" data-renderer-mark="true"&gt;‘0000-00-00 00:00:00'&lt;/CODE&gt; as default creation date. This value isn’t permitted in the recent versions of MySQL. We need to disable two modes: &lt;CODE class="code css-z5oxh7" data-renderer-mark="true"&gt;NO_ZERO_DATE&lt;/CODE&gt; and &lt;CODE class="code css-z5oxh7" data-renderer-mark="true"&gt;NO_ZERO_IN_DATE&lt;/CODE&gt; from sql mode. To do so, open the main configuration file as root:&lt;/P&gt;
&lt;DIV class="code-block  css-xc5qaq"&gt;
&lt;DIV class="css-6m0gf"&gt;
&lt;DIV class="css-6yiv0d"&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN class="prismjs css-1vd0zfg" data-code-lang="shell" data-ds--code--code-block=""&gt;&lt;CODE class="language-shell"&gt;&lt;SPAN class="token function"&gt;sudo&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;vim&lt;/SPAN&gt;&lt;SPAN class=""&gt; /etc/mysql/mysql.cnf&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P data-renderer-start-pos="6230"&gt;and then add the following &lt;SPAN data-renderer-mark="true" data-mark-type="annotation" data-mark-annotation-type="inlineComment" data-id="e57b6591-3bf8-4188-aeea-14ad6604f42c"&gt;line&lt;/SPAN&gt;s at the end of the file for mysql 5.6&lt;/P&gt;
&lt;DIV class="code-block  css-xc5qaq"&gt;
&lt;DIV class="css-6m0gf"&gt;
&lt;DIV class="css-6yiv0d"&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN class="prismjs css-1vd0zfg" data-code-lang="sql" data-ds--code--code-block=""&gt;&lt;CODE class="language-sql"&gt;&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;mysqld&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;sql&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;mode&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P data-renderer-start-pos="6418"&gt;for MySQL 8.0 append this instead otherwise MySQL won’t start/restart&lt;/P&gt;
&lt;DIV class="code-block  css-xc5qaq"&gt;
&lt;DIV class="css-6m0gf"&gt;
&lt;DIV class="css-6yiv0d"&gt;
&lt;DIV role="presentation"&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;SPAN class="prismjs css-1vd0zfg" data-code-lang="sql" data-ds--code--code-block=""&gt;&lt;CODE class="language-sql"&gt;&lt;SPAN class="token punctuation"&gt;[&lt;/SPAN&gt;&lt;SPAN class=""&gt;mysqld&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;]&lt;/SPAN&gt;
&lt;SPAN class="token keyword"&gt;sql&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;-&lt;/SPAN&gt;&lt;SPAN class="token keyword"&gt;mode&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;&lt;SPAN class="token string"&gt;"ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 31 May 2023 15:56:43 GMT</pubDate>
      <guid>https://community.incorta.com/t5/administrative-discussions/cmc-metadata-creation-failed-com-incorta-database-upgrade/m-p/4378#M140</guid>
      <dc:creator>Mohamed_Sadek</dc:creator>
      <dc:date>2023-05-31T15:56:43Z</dc:date>
    </item>
  </channel>
</rss>

