install.inc

Same filename in this branch
  1. 7.x includes/database/sqlite/install.inc
  2. 7.x includes/database/pgsql/install.inc
  3. 7.x includes/install.inc
Same filename in other branches
  1. 9 core/includes/install.inc
  2. 8.9.x core/includes/install.inc
  3. 10 core/includes/install.inc
  4. 11.x core/includes/install.inc

Installation code for MySQL embedded database engine.

File

includes/database/mysql/install.inc

View source
<?php


/**
 * @file
 * Installation code for MySQL embedded database engine.
 */

/**
 * Specifies installation tasks for MySQL and equivalent databases.
 */
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';
    }

}

Classes

Title Deprecated Summary
DatabaseTasks_mysql Specifies installation tasks for MySQL and equivalent databases.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.