kazuho/p5-test-mysqld — pull request #4 by lecstor (2011-12-03 14:32:38+00:00)
Title: Use MySQL option --tmpdir to prevent multiple MySQL processes clashing.

- added --tmpdir option to mysql commands in saetup and start methods.

Without the --tmpdir option it seems MySQL creates temporary files in the system tmp dir without much randomisation of the file names. I easily got clashes when running parrallel tests with prove -j 9. I got the same errors with your own tests using this option. With --tmpdir set I'm not seeing these issues.

I think I've fixed it with these changes, but please be sure to check it out for yourself.

cheers,

J