ERROR: Loading local data is disabled

With the error in MySQL:

ERROR: Loading local data is disabled – this must be enabled on both the client and server sides


mysql> SHOW GLOBAL VARIABLES LIKE ‘local_infile’;

and execute if local_infile is off:

mysql> SET GLOBAL local_infile=1;
Query OK, 0 rows affected (0.00 sec)



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: