¿Ideas?
Varias, pero no estás dando información suficiente.
Ese comando requiere que el usuario tenga permisos de FILE, ¿los tiene?
Además, necesitaríamos verificar el contenido del archivo para saber si está bien conformado. Y también si el charset del mismo es el correcto.
¿Qué verificación hiciste por tu cuenta para tratar de solucionarlo?
Supongo que no habrás venido a preguntar sin haber intentado algo, ¿no?
Dinos que para no sugerir cosas ya probadas.
Por otro lado, veo muy riesgoso usar caracteres como el "#" para separar columnas, ya que ese caracter es para poner comentarios en la línea...
Manual de referencia: Cita: MySQL Server supports three comment styles:
From a “#” character to the end of the line.
From a “-- ” sequence to the end of the line. In MySQL, the “-- ” (double-dash) comment style requires the second dash to be followed by at least one whitespace or control character (such as a space, tab, newline, and so on). This syntax differs slightly from standard SQL comment syntax, as discussed in Section 1.8.2.5, “'--' as the Start of a Comment”.
From a /* sequence to the following */ sequence, as in the C programming language. This syntax enables a comment to extend over multiple lines because the beginning and closing sequences need not be on the same line.