diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 96c422d4d85..6df64ced2f9 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -3825,6 +3825,9 @@ sub mysqld_start ($$$) { $wait_for_pid_file= 0; } + # Remove the pidfile + unlink($mysqld->{'path_pid'}); + if ( defined $exe ) { $pid= mtr_spawn($exe, $args, "",