A more complete solution: 1. Pick a directory from which mysqld should be allowed to load files. Perhaps somewhere writable only by your DBA account and readable only by members of group mysql? 2. sudo aa-complain /usr/sbin/mysqld 3. Try to load a file from your designated loading directory: 'load data infile '/var/opt/mysql-load/import.csv' into table ...' 4. sudo aa-logprof aa-logprof will identify the access violation triggered by the 'load data infile ...' query, and interactively wa...