winterland1989/mysql-haskell

Unable to run "LOAD DATA LOCAL INFILE"

Opened this issue · 0 comments

I am unable to load local data files into a MySQL database using LOAD DATA LOCAL INFILE.... When I try to do that, I get the following error:

ERRException (ERR {errCode = 3948, errState = "42000", errMsg = "Loading local data is disabled; this must be enabled on both the client and server sides"})

In Java and PHP solutions (jdbc-mysql, php-pdo, mysql, mysqli) it is possible to add connection parameters to make it possible to use LOAD DATA LOCAL INFILE SQL statements.

Can we make that possible in Haskell too? @winterland1989