I am trying to load data from a file into a table in my mysql server using the
load data local infile '<filename>' into table <tablename>
command but it gives the error 1148. I understand this is due to some security issues and that I have to enable local-infile option to get this command to execute.
But since I am trying to execute this through python, I am not sure how can I enable this option.
Additional Info: I am using mysqldb import for python