1
|
<?php
|
2
|
|
3
|
/**
|
4
|
* @file
|
5
|
* Installation code for MySQL embedded database engine.
|
6
|
*/
|
7
|
|
8
|
/**
|
9
|
* Specifies installation tasks for MySQL and equivalent databases.
|
10
|
*/
|
11
|
class DatabaseTasks_mysql extends DatabaseTasks {
|
12
|
/**
|
13
|
* The PDO driver name for MySQL and equivalent databases.
|
14
|
*
|
15
|
* @var string
|
16
|
*/
|
17
|
protected $pdoDriver = 'mysql';
|
18
|
|
19
|
/**
|
20
|
* Returns a human-readable name string for MySQL and equivalent databases.
|
21
|
*/
|
22
|
public function name() {
|
23
|
return st('MySQL, MariaDB, or equivalent');
|
24
|
}
|
25
|
|
26
|
/**
|
27
|
* Returns the minimum version for MySQL.
|
28
|
*/
|
29
|
public function minimumVersion() {
|
30
|
return '5.0.15';
|
31
|
}
|
32
|
}
|
33
|
|