Mysql "loading local data disabled" error
-
I'm getting the following error when trying to load data from a zip file that is included with the code base.
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)The following php.ini setting is in
/app/data/php.inimysqli.allow_local_infile = OnI've added the following to
/etc/mysql/my.cnf[mysqld] local_infile=1 [client] local_infile=1Apache and Mysql have been restarted. I'm still getting the same error. Any ideas?
-
I'm getting the following error when trying to load data from a zip file that is included with the code base.
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)The following php.ini setting is in
/app/data/php.inimysqli.allow_local_infile = OnI've added the following to
/etc/mysql/my.cnf[mysqld] local_infile=1 [client] local_infile=1Apache and Mysql have been restarted. I'm still getting the same error. Any ideas?
@shai 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 - https://matomo.org/faq/troubleshooting/faq_194/ . 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.
-
@shai 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 - https://matomo.org/faq/troubleshooting/faq_194/ . 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login