Jan 6, 2016
0
Level 7
Enable LOCAL_INFILE
I'm trying to load a large CSV file using the MySQL LOCAL_INFILE directive but am getting
The used command is not allowed with this MySQL version
Googling around I found you could add an options array to the DB directive along the lines of
'mysql' => [ ... 'options' => [ PDO::MYSQL_ATTR_LOCAL_INFILE => true ] ],
But I do not have a PDO facade. Any advice? I've never used Lumen before.
Please or to participate in this conversation.