src/Robo/Inspector/Inspector.php
public function getMySqlAvailable() {
    $this->logger->debug("Verifying that MySQL is available...");
    /** @var \Robo\Result $result */
    $result = $this->executor->drush("sqlq \"SHOW DATABASES\"")
      ->run();

    return $result->wasSuccessful();
  }
public function getMySqlAvailable() {
    $this->logger->debug("Verifying that MySQL is available...");
    /** @var \Robo\Result $result */
    $result = $this->executor->drush("sqlq \"SHOW DATABASES\"")
      ->run();

    return $result->wasSuccessful();
  }
public function getMySqlAvailable ( ) { $ this -> logger -> debug ( "Verifying that MySQL is available..." ) ; /** @var \Robo\Result $result */ $ result = $ this -> executor -> drush ( "sqlq \"SHOW DATABASES\"" ) -> run ( ) ; return $ result -> wasSuccessful ( ) ; }
Determines if MySQL is available. Uses MySQL credentials from Drush.

This method does not cache its result.

@return bool
TRUE if MySQL is available.
Determines if MySQL is available . Uses MySQL credentials from Drush .