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

Review:

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)

Enjoy!!!

 

Leave a Reply

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

WordPress.com Logo

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

Google photo

You are commenting using your Google 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