From 48b0f50fea6ecb29228d2a9bf141890b4b36bb39 Mon Sep 17 00:00:00 2001 From: Craig Duncan Date: Fri, 17 Jan 2020 17:21:39 +0000 Subject: [PATCH] Mysqli doesn't support the named parameters used by PdoStore --- Store/PdoStore.php | 1 + 1 file changed, 1 insertion(+) diff --git a/Store/PdoStore.php b/Store/PdoStore.php index 0cf3dd3..94ef6b1 100644 --- a/Store/PdoStore.php +++ b/Store/PdoStore.php @@ -307,6 +307,7 @@ private function getDriver(): string } else { switch ($this->driver = $con->getDriver()->getName()) { case 'mysqli': + throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this))); case 'pdo_mysql': case 'drizzle_pdo_mysql': $this->driver = 'mysql';