Commit ac5309cb authored by msvensson@pilot.(none)'s avatar msvensson@pilot.(none)
Browse files

Remove any old pidfile before starting mysqld to make sure that

'mysqld_wait_started' don't return prematurely because of an old
pidfile
parent f164a136
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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, "",