Commit 10012b36 authored by unknown's avatar unknown

Remove any old pidfile before starting mysqld to make sure that

'mysqld_wait_started' don't return prematurely because of an old
pidfile

parent 305c3526
......@@ -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, "",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment