install.inc

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

Installation code for MySQL embedded database engine.

File

drupal-7.x/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. }