I started to use Plesk panel on Linux vds and getting this error when I am trying to load data. Collect folder permission is 777. I don't know how can I solve it.
LOAD DATA INFILE '/var/www/vhosts/folder/httpdocs/modules/admin/collect/collect_4588ov1qidu.csv' INTO TABLE messages FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\n'
#13 - Can't get stat of '/var/www/vhosts/folder/httpdocs/modules/admin/collect/collect_4588ov1qidu.csv' (Errcode: 13)
I tried LOCAL word too but it gives me LOAD DATA LOCAL INFILE is forbidden, check mysqli.allow_local_infile
LOAD DATA INFILE '/var/www/vhosts/folder/httpdocs/modules/admin/collect/collect_4588ov1qidu.csv' INTO TABLE messages FIELDS TERMINATED BY ',' ENCLOSED BY '\"' LINES TERMINATED BY '\n'
#13 - Can't get stat of '/var/www/vhosts/folder/httpdocs/modules/admin/collect/collect_4588ov1qidu.csv' (Errcode: 13)
I tried LOCAL word too but it gives me LOAD DATA LOCAL INFILE is forbidden, check mysqli.allow_local_infile