You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Matomo database user already has the FILE privilege
The Matomo server and the DB server are on separate hardware
I'm having the following error in the system checks page:
Using LOAD DATA INFILE will greatly speed Matomo's archiving process up. To make it available to Matomo, try updating your PHP & MySQL software and make sure your database user has the FILE privilege.
If your Matomo server tracks high traffic websites (eg. > 100,000 pages per month), we recommend to try fix this problem.
Error: LOAD DATA INFILE failed... Error was:
Try #1: LOAD DATA INFILE : SQLSTATE[HY000]: General error: 13 Can't get stat of '/usr/share/matomo/tmp/assets/piwik_option-66adb5e071910f7e2ebfe96f50fdcc2a.csv' (Errcode: 2 - No such file or directory),
Try #2: LOAD DATA LOCAL INFILE : SQLSTATE[42000]: Syntax error or access violation: 1148 The used command is not allowed with this MySQL version[42000]
So,
is there a way to avoid this warning/error being displayed on the system check page when Matomo and the DB aren't hosted on the same server?
for security reasons, is there a way to specify a separate folder for the CSV file? By this, I mean it would be great to place the CSV file in a separate location, outside of Matomo existing folder. That would play nicely with secure_file_priv (link)
Thank you.
The text was updated successfully, but these errors were encountered:
To me, this implies that On is the default. But it isn't, as of PHP 7.2.16 and 7.3.3. You have to remove the semicolon, so it matches with all the others in the [mysqli] section.
Just thought I'd mention it here in case it confused anyone else looking for help with this issue. 😅
Hi Matomo team,
So a few things...
FILE
privilegeI'm having the following error in the system checks page:
So,
is there a way to avoid this warning/error being displayed on the system check page when Matomo and the DB aren't hosted on the same server?
for security reasons, is there a way to specify a separate folder for the CSV file? By this, I mean it would be great to place the
CSV
file in a separate location, outside of Matomo existing folder. That would play nicely withsecure_file_priv
(link)Thank you.
The text was updated successfully, but these errors were encountered: