<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mysql &quot;loading local data disabled&quot; error]]></title><description><![CDATA[<p dir="auto">I'm getting the following error when trying to load data from a zip file that is included with the code base.</p>
<pre><code>Error: Loading local data is disabled; this must be enabled on both the client and server sides

/app/data/openemr/library/standard_tables_capture.inc at 558:sqlStatement
/app/data/openemr/interface/code_systems/standard_tables_manage.php at 99:icd_import(ICD10)
</code></pre>
<p dir="auto">The following php.ini setting is in <code>/app/data/php.ini</code></p>
<pre><code>mysqli.allow_local_infile = On
</code></pre>
<p dir="auto">I've added the following to <code>/etc/mysql/my.cnf </code></p>
<pre><code>[mysqld]
local_infile=1
[client]
local_infile=1
</code></pre>
<p dir="auto">Apache and Mysql have been restarted. I'm still getting the same error. Any ideas?</p>
]]></description><link>https://forum.cloudron.io/topic/5743/mysql-loading-local-data-disabled-error</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 22:09:19 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5743.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Sep 2021 21:47:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mysql &quot;loading local data disabled&quot; error on Fri, 01 Oct 2021 01:35:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> the local_infile is the approach the app uses to load data sets for optional functionality. I'll go to the forum for OpenEMR and see if there is a way for me to manually upload the data instead of being done through the webapp UI.</p>
]]></description><link>https://forum.cloudron.io/post/37105</link><guid isPermaLink="true">https://forum.cloudron.io/post/37105</guid><dc:creator><![CDATA[Shai]]></dc:creator><pubDate>Fri, 01 Oct 2021 01:35:01 GMT</pubDate></item><item><title><![CDATA[Reply to Mysql &quot;loading local data disabled&quot; error on Thu, 30 Sep 2021 22:25:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/shai" aria-label="Profile: shai">@<bdi>shai</bdi></a> That flag has to enabled in mysql configuration which is not editable on Cloudron. We have disabled that on Cloudron because it's a security issue . You can also see matomo's faq on this - <a href="https://matomo.org/faq/troubleshooting/faq_194/" target="_blank" rel="noopener noreferrer nofollow ugc">https://matomo.org/faq/troubleshooting/faq_194/</a> . Does the app not work without this feature? It's supposed to be a way to load data into the database from a file on the filesystem. This won't work on Cloudron since the app and mysql are in separate containers and will require some shared filesystem for the feature to work.</p>
]]></description><link>https://forum.cloudron.io/post/37097</link><guid isPermaLink="true">https://forum.cloudron.io/post/37097</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 30 Sep 2021 22:25:28 GMT</pubDate></item></channel></rss>