class DatabaseTasks_mysql in Drupal 7
Specifies installation tasks for MySQL and equivalent databases.
Hierarchy
- class \DatabaseTasks
- class \DatabaseTasks_mysql
Expanded class hierarchy of DatabaseTasks_mysql
File
- 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DatabaseTasks:: |
protected | property | Results from tasks. | |
DatabaseTasks:: |
protected | property | Structure that describes each task to run. | |
DatabaseTasks:: |
protected | function | Check the engine version. | |
DatabaseTasks:: |
protected | function | Check if we can connect to the database. | |
DatabaseTasks:: |
protected | function | Assert test as failed. | |
DatabaseTasks:: |
public | function | Return driver specific configuration options. | 1 |
DatabaseTasks:: |
protected | function | Ensure the PDO driver is supported by the version of PHP in use. | |
DatabaseTasks:: |
public | function | Check whether Drupal is installable on the database. | |
DatabaseTasks:: |
protected | function | Assert test as a pass. | |
DatabaseTasks:: |
public | function | Run database tasks and tests to see if Drupal can run on the database. | |
DatabaseTasks:: |
protected | function | Run SQL tests to ensure the database can execute commands with the current user. | |
DatabaseTasks:: |
public | function | Validates driver specific configuration settings. | 1 |
DatabaseTasks_mysql:: |
protected | property | The PDO driver name for MySQL and equivalent databases. | |
DatabaseTasks_mysql:: |
public | function |
Returns the minimum version for MySQL. Overrides DatabaseTasks:: |
|
DatabaseTasks_mysql:: |
public | function |
Returns a human-readable name string for MySQL and equivalent databases. Overrides DatabaseTasks:: |