<?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>question Error on importing data into Mysql from Sqlite3  for external db use with Hue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-importing-data-into-Mysql-from-Sqlite3-for-external/m-p/43006#M35083</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the guide on installing Mysql for Hue as posted here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/5-5-x/topics/cdh_ig_hue_database.html#concept_id1_wkj_zj__section_pmx_plj_zj" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/5-5-x/topics/cdh_ig_hue_database.html#concept_id1_wkj_zj__section_pmx_plj_zj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at the point (Step 18) where you import the data into Mysql with:&lt;/P&gt;&lt;P&gt;&amp;lt;HUE_HOME&amp;gt;/build/env/bin/hue loaddata &amp;lt;some-temporary-file&amp;gt;.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This fails with:&lt;/P&gt;&lt;P&gt;django.db.utils.IntegrityError: Problem installing fixtures: The row in table 'beeswax_queryhistory' with primary key '225' has an invalid foreign key: beeswax_queryhistory.owner_id contains a value '3' that does not have a corresponding value in auth_user.id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CDH Version info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Cloudera Express 5.7.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mysql Version info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;MySQL-python.x86_64 1.2.3-0.3.c1.1.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-connector-java.noarch 1:5.1.17-6.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-devel.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-libs.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-server.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;perl-DBD-MySQL.x86_64 4.013-3.el6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OS Version info:&lt;/P&gt;&lt;P&gt;&amp;nbsp; CentOS release 6.8 (Final)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;TimW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 13:50:35 GMT</pubDate>
    <dc:creator>023586</dc:creator>
    <dc:date>2026-04-21T13:50:35Z</dc:date>
    <item>
      <title>Error on importing data into Mysql from Sqlite3  for external db use with Hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-importing-data-into-Mysql-from-Sqlite3-for-external/m-p/43006#M35083</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been using the guide on installing Mysql for Hue as posted here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cloudera.com/documentation/enterprise/5-5-x/topics/cdh_ig_hue_database.html#concept_id1_wkj_zj__section_pmx_plj_zj" target="_blank"&gt;http://www.cloudera.com/documentation/enterprise/5-5-x/topics/cdh_ig_hue_database.html#concept_id1_wkj_zj__section_pmx_plj_zj&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm at the point (Step 18) where you import the data into Mysql with:&lt;/P&gt;&lt;P&gt;&amp;lt;HUE_HOME&amp;gt;/build/env/bin/hue loaddata &amp;lt;some-temporary-file&amp;gt;.json&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This fails with:&lt;/P&gt;&lt;P&gt;django.db.utils.IntegrityError: Problem installing fixtures: The row in table 'beeswax_queryhistory' with primary key '225' has an invalid foreign key: beeswax_queryhistory.owner_id contains a value '3' that does not have a corresponding value in auth_user.id.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CDH Version info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; Cloudera Express 5.7.1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Mysql Version info:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;MySQL-python.x86_64 1.2.3-0.3.c1.1.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-connector-java.noarch 1:5.1.17-6.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-devel.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-libs.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;mysql-server.x86_64 5.1.73-7.el6&lt;BR /&gt;&amp;nbsp; &amp;nbsp;perl-DBD-MySQL.x86_64 4.013-3.el6&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OS Version info:&lt;/P&gt;&lt;P&gt;&amp;nbsp; CentOS release 6.8 (Final)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;TimW&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 13:50:35 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-importing-data-into-Mysql-from-Sqlite3-for-external/m-p/43006#M35083</guid>
      <dc:creator>023586</dc:creator>
      <dc:date>2026-04-21T13:50:35Z</dc:date>
    </item>
    <item>
      <title>Re: Resolved - Error on importing data into Mysql from Sqlite3  for external db use with Hue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-importing-data-into-Mysql-from-Sqlite3-for-external/m-p/43019#M35084</link>
      <description>&lt;P&gt;Issue has been resolved by using the the CDH manager and changing the config for Hue's database from Sqlite3 to Mysql and adding the appropriate user info. &amp;nbsp;I'm skipping the import since there wasn't much in it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2016 22:50:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Error-on-importing-data-into-Mysql-from-Sqlite3-for-external/m-p/43019#M35084</guid>
      <dc:creator>023586</dc:creator>
      <dc:date>2016-07-19T22:50:33Z</dc:date>
    </item>
  </channel>
</rss>

