Bug #110669 ERROR 2068 (HY000): LOAD DATA LOCAL INFILE file request rejected due to restrict
Submitted: 12 Apr 2023 15:23 Modified: 13 Apr 2023 8:06
Reporter: mariam saad Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:8.0.29 OS:Linux (Ubuntu 20.04 x86_64)
Assigned to: CPU Architecture:Any
Tags: WBBugReporter

[12 Apr 2023 15:23] mariam saad
Description:
----[For better reports, please attach the log file after submitting. You can find it in /home/mariam/snap/mysql-workbench-community/10/.mysql/workbench/log/wb.log]

ERROR 2068 (HY000): LOAD DATA LOCAL INFILE file request rejected due to restrictions on access.

How to repeat:
ERROR 2068 (HY000): LOAD DATA LOCAL INFILE file request rejected due to restrictions on access.
[12 Apr 2023 16:18] MySQL Verification Team
Hi,

Please provide privileges for the user that issues the above command.

Also, try putting file on the same machine where is server and omit "LOCAL".

You probably miss FILE privilege !!!!!

Check it out !!!!!
[13 Apr 2023 8:06] MySQL Verification Team
Hello mariam saad,

Thank you for the bug report.
Imho this is duplicate of Bug #91891, please see Bug #91891 and follow the suggested fix.

Regards,
Ashwini Patil