[CWB] Is someone else running cqpweb under Ubuntu 18.04 LTS?

Stefan Evert stefanML at collocations.de
Tue Apr 30 19:12:53 CEST 2019



> On 30 Apr 2019, at 15:07, Hardie, Andrew <a.hardie at lancaster.ac.uk> wrote:
> 
> There are, incidentally, 3 solutions - one is changing the setting & restarting Apache,  as Stefan says, the others are to tell CQPweb to avoid use of LOCAL INFILE by either ...
> 
> - setting $mysql_local_infile_disabled to true
> - setting $mysql_has_file_access to true (if the preconditions are met, which they usually are)

But that will bring on an insane amount of AppArmor pain …  so I very much recommend to use LOCAL INFILE.  On my virtual machine, the default AppArmor settings were fine as long as one doesn't try to give MySQL file access.

S.



More information about the CWB mailing list