Forums | Mahara Community

Developers /
load data infile query in execute_sql


anonymous profile picture
Account deleted
Posts: 15

23 December 2014, 3:51

Hi

I have to load my csv file to mahara database. So I'm using execute_sql()

 

This is my query :

LOAD DATA INFILE "gmail_1.csv" INTO TABLE artefact_myplugin_ref LINES TERMINATED BY ","

Can any one tell how to run the above query? 

1 result