If test cases from the test suite fail, you should do the following:
Do not file a bug report before you have found out as much as possible about what when wrong. See the instructions at http://dev.mysql.com/doc/mysql/en/bug-reports.
Check whether an individual test in the test suite also fails when run on its own:
If this fails, and you are compiling MySQL yourself, you should configure MySQL with
--with-debugand run mysql-test-run.pl with the
--debugoption. If this also fails, open a bug report and upload the trace file
mysql-test/var/tmp/master.traceto the report, so that we can examine it. For instructions, see How to Report Bugs or Problems. Please remember to also include a full description of your system, the version of the mysqld binary and how you compiled it.
Run mysql-test-run.pl with the
--forceoption to see whether any other tests fail.
If you have compiled MySQL yourself, check the MySQL Reference Manual to see whether there are any platform-specific issues for your system. There might be configuration workarounds to deal with the problems that you observe. Also, consider using one of the binaries we have compiled for you at http://dev.mysql.com/downloads/. All our standard binaries should pass the test suite!
If you get an error such as
Result length mismatchor
Result content mismatchit means that the output of the test was not an exact match for the expected output. This could be a bug in MySQL or it could be that your version of mysqld produces slightly different results under some circumstances.
This output from mysql-test-run.pl should include a diff of the expected and actual result. If unable to produce a diff, it will instead print out both in full. In addition, the actual result is put in a file in the
rdirectory with a
If a test fails completely, you should check the logs file in the
mysql-test/var/logdirectory for hints of what went wrong.
If you have compiled MySQL with debugging, you can try to debug test failures by running mysql-test-run.pl with either or both of the
If you have not compiled MySQL for debugging you should probably do so by specifying the
--with-debugoption when you invoke configure.