Skip to content

Commit

Permalink
Fix restart of mysql (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
mischabraam committed Oct 23, 2024
1 parent ca67f20 commit 0e61d10
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/ValetPlus/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ public function restart()
{
$version = $this->installedVersion() ?: self::MYSQL_DEFAULT_VERSION;
info("Restarting {$version}...");
$this->cli->quietlyAsUser('brew services restart ' . $version);
$this->cli->quietly('brew services stop ' . $version);
$this->cli->quietlyAsUser('brew services start ' . $version);
}

/**
Expand Down

0 comments on commit 0e61d10

Please sign in to comment.