MySQL Forums
Forum List  »  MySQL Shell

ERROR: 3948: Loading local data is disabled
Posted by: Kennet Hafstedt
Date: August 27, 2023 01:22PM

Hi all,

I have looked all over the internet, in numerus forums and followed all kinds of suggestions, but I'm still stuck. I keep on getting the same message:

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

I've done: SET GLOBAL local_infile=1;

Then:SHOW GLOBAL VARIABLES LIKE 'local_infile';

I get:

+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| local_infile | ON |
+---------------+-------+

Then after having reconnected to the server I get:

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

I think I'm going nuts on this issue...

Most of you guys have seen this and left it behind you, but maybe you recall something that might help me out of this spot.

By the way here is the sql-line I've tried to use when loading data from a txt file :-)

LOAD DATA LOCAL INFILE '/Users/kenne/OneDrive/Skrivbord/ArtikelDB.txt' INTO TABLE dehouse;

Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
ERROR: 3948: Loading local data is disabled
1332
August 27, 2023 01:22PM


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.