I couldn't upload my data into MySQL using Command line | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I couldn't upload my data into MySQL using Command line

When I use LOCAL it's showing " LOAD DATA LOCAL INFILE file request rejected due to restrictions on access " & when I try to remove the LOCAL it show's " The MySQL server is running with the --secure-file-priv option so it cannot execute this statement " I don't know how to deal with this error I tried many different methods but couldn't figure this out ! It'd Really appreciable if someone could help me with this error !

12th Mar 2021, 5:50 AM
Nick
Nick - avatar
1 Answer
0
The reason is you need administrator right to execute what you are up to. You have first to connect to your DB using the username and password you registered your DB with.
12th Mar 2021, 10:59 AM
iTech
iTech - avatar