I think the problem is not with mysql, but with your understanding of the command.
'LOCAL' makes the client do the file finding whereas without 'LOCAL' the server does the locating of the file. This is so that you can use a remote client to load data.
You need to either run the same command on a local client or run it without 'LOCAL' after uploading the file to the remote server.
Hope this helps 😉