Verified Commit 4a0524ee authored by Dave Long's avatar Dave Long
Browse files

task: #3478097 MySQL no longer recommended and remove Percona

By: quietone
By: cmlara
By: joseph.olstad
By: longwave
By: dcam
By: c-logemann
parent d00a6671
Loading
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -51,10 +51,7 @@ Drupal requires:
- PHP 8.3.0 (or greater) (http://php.net/).
- One of the following databases:
  - MySQL 8.0.0 (or greater) (http://www.mysql.com/).
  - MariaDB 10.6.0 (or greater) (https://mariadb.org/). MariaDB is a fully
    compatible drop-in replacement for MySQL.
  - Percona Server 8.0.0 (or greater) (http://www.percona.com/). Percona
    Server is a backwards-compatible replacement for MySQL.
  - MariaDB 10.6.0 (or greater) (https://mariadb.org/).
  - PostgreSQL 16 (or greater) (http://www.postgresql.org/).
  - SQLite 3.45 (or greater) (http://www.sqlite.org/).

+2 −2
Original line number Diff line number Diff line
@@ -54,10 +54,10 @@ public function name() {
      if ($this->getConnection()->isMariaDb()) {
        return $this->t('MariaDB');
      }
      return $this->t('MySQL, Percona Server, or equivalent');
      return $this->t('MySQL or equivalent');
    }
    catch (ConnectionNotDefinedException) {
      return $this->t('MySQL, MariaDB, Percona Server, or equivalent');
      return $this->t('MySQL, MariaDB, or equivalent');
    }
  }

+2 −2
Original line number Diff line number Diff line
@@ -151,7 +151,7 @@ public static function providerNameAndMinimumVersion(): array {
      ],
      [
        FALSE,
        'MySQL, Percona Server, or equivalent',
        'MySQL or equivalent',
        Tasks::MYSQL_MINIMUM_VERSION,
      ],
    ];
@@ -164,7 +164,7 @@ public static function providerNameAndMinimumVersion(): array {
   */
  public function testNameWithNoConnection(): void {
    $tasks = $this->createTasksNoConnection();
    $this->assertSame('MySQL, MariaDB, Percona Server, or equivalent', $tasks->name());
    $this->assertSame('MySQL, MariaDB, or equivalent', $tasks->name());
  }

}
+1 −1
Original line number Diff line number Diff line
@@ -96,7 +96,7 @@ protected function setUpSettings(): void {

    // Assert that we use the by core supported database drivers by default and
    // not the ones from the driver_test module.
    $this->assertSession()->elementTextEquals('xpath', '//label[@for="edit-driver-drupalmysqldriverdatabasemysql"]', 'MySQL, MariaDB, Percona Server, or equivalent');
    $this->assertSession()->elementTextEquals('xpath', '//label[@for="edit-driver-drupalmysqldriverdatabasemysql"]', 'MySQL, MariaDB, or equivalent');
    $this->assertSession()->elementTextEquals('xpath', '//label[@for="edit-driver-drupalpgsqldriverdatabasepgsql"]', 'PostgreSQL');

    parent::setUpSettings();