[client]
......
local-infile=1
[mysqld]
......
local-infile = 1
Exception: Query error 28000: SQLSTATE[28000]: Invalid authorization specification: 1045 Access denied for user 'user'@'localhost' (using password: YES). Query: LOAD DATA INFILE '/tmp/php6QoIk1' INTO TABLE ....