79428281

Date: 2025-02-10 20:58:32
Score: 2.5
Natty:
Report link

I have tried some of the above answers and enabled the 'allow_local_infile' in the php.ini file to no avail. What finally worked was opening MySQLWorkbench selecting Manage Connections> Advanced and added the OPT_LOCAL_INFILE flag set to 1.

screenshot from MySQLWorkbench Connection>Advanced section

Solution was found here: https://virtual-dba.com/blog/error-code-2068-load-data-local-infile-file-request-rejected-due-to-restrictions-on-access/

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Don Miguel