@MichaelHeerklotz opened this Pull Request on April 10th 2018 Contributor

The bug was fixed for mysqlnd in PHP 5.6.17, so "LOAD DATA LOCAL INFILE" can be used when mysqlnd is used and PHP => 5.6.17,

function_exists('mysqli_get_client_stats') is used to check whether mysqlnd is active.

See https://bugs.php.net/bug.php?id=68077

@MichaelHeerklotz commented on April 11th 2018 Contributor

Added setting "load_data_infile_remote" to skip local file access for setups where database and webserver are not on the same system.

@mattab commented on April 17th 2018 Owner

Thanks for the PR @MichaelHeerklotz :+1: We will review & merge it shortly.
Feedback: instead of introducing a new config file setting, we are thinking of re-using the config setting multi_server_environment=1 documented in https://matomo.org/faq/new-to-piwik/faq_134/

This Pull Request was closed on April 23rd 2018
Powered by GitHub Issue Mirror