Skip navigation
Help

install.inc

  1. drupal
    1. 6 drupal/includes/install.inc
    2. 7 drupal/includes/install.inc
    3. 7 drupal/includes/database/mysql/install.inc
    4. 7 drupal/includes/database/sqlite/install.inc
    5. 7 drupal/includes/database/pgsql/install.inc

Installation code for MySQL embedded database engine.

Classes

NameDescription
DatabaseTasks_mysqlSpecifies installation tasks for MySQL and equivalent databases.

File

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