Skip to content
This repository was archived by the owner on Feb 15, 2023. It is now read-only.

Commit a996606

Browse files
authored
Merge pull request #7 from tristanbes/patch-1
Fix incorrect use of serverVersion for MariaDB
2 parents cf697ec + d9bca64 commit a996606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platformsh-flex-env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function mapPlatformShDatabase() : void
6060
switch ($endpoint['scheme']) {
6161
case 'mysql':
6262
// Defaults to the latest MariaDB version
63-
$dbUrl .= '?charset=utf8mb4&serverVersion=10.2';
63+
$dbUrl .= '?charset=utf8mb4&serverVersion=mariadb-10.2.12';
6464
break;
6565

6666
case 'pgsql':

0 commit comments

Comments
 (0)