Skip to content

Commit

Permalink
Set adapter=MYSQLI to Piwik's config.ini
Browse files Browse the repository at this point in the history
This is a configuration setting to enable LOAD FILE
for the Cron Archive script as suggested by Piwik's
FAQ and github issue [1].

[1]: matomo-org/matomo#9419 (comment)

Bug: T164073
Change-Id: I239c1f47529a921e04c72792349ba783a098e195
  • Loading branch information
elukey committed May 3, 2017
1 parent fcaed61 commit 245ba49
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/piwik/templates/config.ini.php.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ username = "<%= @database_username %>"
password = "<%= @database_password %>"
dbname = "<%= @database_name %>"
tables_prefix = "<%= @database_table_prefix %>"
; Enable LOAD FILE fix
; https://github.com/piwik/piwik/issues/9419#issuecomment-293663840
; https://piwik.org/faq/troubleshooting/#faq_194
adapter = MYSQLI

[General]
<%- @proxy_client_headers.each do |proxy_client_header| -%>
Expand Down

0 comments on commit 245ba49

Please sign in to comment.