class DatabaseTasks_mysql

Specifies installation tasks for MySQL and equivalent databases.

Hierarchy

Expanded class hierarchy of DatabaseTasks_mysql

File

drupal-7.x/includes/database/mysql/install.inc, line 11
Installation code for MySQL embedded database engine.

View source
class DatabaseTasks_mysql extends DatabaseTasks {
  /**
   * The PDO driver name for MySQL and equivalent databases.
   *
   * @var string
   */
  protected $pdoDriver = 'mysql';

  /**
   * Returns a human-readable name string for MySQL and equivalent databases.
   */
  public function name() {
    return st('MySQL, MariaDB, or equivalent');
  }

  /**
   * Returns the minimum version for MySQL.
   */
  public function minimumVersion() {
    return '5.0.15';
  }
}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
DatabaseTasks::$results protected property Results from tasks.
DatabaseTasks::$tasks protected property Structure that describes each task to run.
DatabaseTasks::checkEngineVersion protected function Check the engine version.
DatabaseTasks::connect protected function Check if we can connect to the database.
DatabaseTasks::fail protected function Assert test as failed.
DatabaseTasks::getFormOptions public function Return driver specific configuration options.
DatabaseTasks::hasPdoDriver protected function Ensure the PDO driver is supported by the version of PHP in use.
DatabaseTasks::installable public function Check whether Drupal is installable on the database.
DatabaseTasks::pass protected function Assert test as a pass.
DatabaseTasks::runTasks public function Run database tasks and tests to see if Drupal can run on the database.
DatabaseTasks::runTestQuery protected function Run SQL tests to ensure the database can execute commands with the current user.
DatabaseTasks::validateDatabaseSettings public function Validates driver specific configuration settings.
DatabaseTasks_mysql::$pdoDriver protected property The PDO driver name for MySQL and equivalent databases.
DatabaseTasks_mysql::minimumVersion public function Returns the minimum version for MySQL. Overrides DatabaseTasks::minimumVersion
DatabaseTasks_mysql::name public function Returns a human-readable name string for MySQL and equivalent databases. Overrides DatabaseTasks::name