SyntaxFix
Write A Post
Hire A Developer
Questions
In my case, the solution was to make every directory in the directory path readable and accessible by mysql (chmod a+rx). The directory was still specified by its relative path in the command line.
mysql
chmod a+rx
chmod a+rx /tmp chmod a+rx /tmp/migration etc.