install.inc 629 B

123456789101112131415161718192021222324252627282930313233
  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. }