MySQL Forums
Forum List  »  MySQL Workbench

OSX LOCAL Not Enabling
Posted by: Noah Soule
Date: April 19, 2017 09:20AM

I've installed mySQL Workbench on osx El Capitan 10.11.6 for School.

I tried this:

LOAD DATA LOCAL INFILE '/Customer.csv'
INTO TABLE Customer FIELDS TERMINATED BY ',';

the Word LOCAL has a red underline and

I get this as a pop up when I hover over the word LOCAL :

Error: Syntax Error Local(local) is not a valid input at this position

I have tried creating/editing the my.cnf files in etc/my.cnf and etc/mysql/my.cnf

to look like this

[mysqld]
local-infile=1

[mysql]
local-infile=1
[client]
loose-local-infile =1


and restarted mysql workbench.

Still not working.

Is there any way to enable the LOCAL option on OSX?

Thanks
N

Options: ReplyQuote


Subject
Views
Written By
Posted
OSX LOCAL Not Enabling
544
April 19, 2017 09:20AM
333
April 24, 2017 12:56AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.