Remove any old pidfile before starting mysqld to make sure that
'mysqld_wait_started' don't return prematurely because of an old pidfile
This commit is contained in:
parent
305c352685
commit
10012b36fe
@ -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, "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user