Skip to content

Commit 72c5468

Browse files
committed
Fix issue after merge
1 parent ae8b0b6 commit 72c5468

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/DB_Command.php‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2461,8 +2461,7 @@ protected function is_mysql_binary_available() {
24612461
static $available = null;
24622462

24632463
if ( null === $available ) {
2464-
$binary = $this->get_mysql_command();
2465-
$result = \WP_CLI\Process::create( '/usr/bin/env ' . escapeshellarg( $binary ) . ' --version', null, null )->run();
2464+
$result = \WP_CLI\Process::create( Utils\get_mysql_binary_path() . ' --version', null, null )->run();
24662465
$available = 0 === $result->return_code;
24672466
}
24682467

0 commit comments

Comments
 (0)