I've already done that when granding file permissions to the database user.
I know from mysql documentation that in order for mysql to access files with LOAD DATA INFILE command, it needs permission not only for the directory that the file exists but for parent directories too.
Piwik is installed as subdomain on my dedicated server in the path /var/www/vhosts/domain.com/analytics/.
So until the piwik's tmp folder permissions can't be the same. I don't know how deep mysql needs permissions but according to LOAD DATA INFILE requirments I don't know what else I can do to make this work.
I know from mysql documentation that in order for mysql to access files with LOAD DATA INFILE command, it needs permission not only for the directory that the file exists but for parent directories too.
Piwik is installed as subdomain on my dedicated server in the path /var/www/vhosts/domain.com/analytics/.
So until the piwik's tmp folder permissions can't be the same. I don't know how deep mysql needs permissions but according to LOAD DATA INFILE requirments I don't know what else I can do to make this work.