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
...@@ -3825,6 +3825,9 @@ sub mysqld_start ($$$) { ...@@ -3825,6 +3825,9 @@ sub mysqld_start ($$$) {
$wait_for_pid_file= 0; $wait_for_pid_file= 0;
} }
# Remove the pidfile
unlink($mysqld->{'path_pid'});
if ( defined $exe ) if ( defined $exe )
{ {
$pid= mtr_spawn($exe, $args, "", $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