I'm under the impression that this command will create a table for you. Is this the wrong idea? I have this:
LOAD DATA LOCAL INFILE '/Users/michael/WebstormProjects/d3_graphs_with_node/public/DFData/ADWORDS_AD_DATA.csv'
INTO TABLE ADWORDS_AD_DATA
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'
IGNORE 1 LINES
(campaign_id,adgroup_id,ad_group,campaign,account,week,keyword,keyword_state,match_type,max_cpc,clicks,impressions,ctr,avg_cpc,avg_cpm,cost,avg_position,quality_score,first_page_cpc,first_position_cpc,converted_clicks,click_conversion_rate,cost_converted_click,cost_all_conv,total_conv_value,conversions,cost_conv,conv_rate)
I counted the columns and there is 28 and I made exactly 28 entries after IGNORE 1 LINES
. I looked at these SO posts and tried to follow the syntax outlined by the MySQL documentation here. Any ideas?