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