Fixed mysql tests for ubuntu