From dce38ad64edc5f96ea05bf320405f54d08c5111f Mon Sep 17 00:00:00 2001 From: whwyy Date: Tue, 7 Jul 2026 11:28:53 +0800 Subject: [PATCH] eee --- Connection.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Connection.php b/Connection.php index 7bbe661..f35fa5d 100644 --- a/Connection.php +++ b/Connection.php @@ -372,9 +372,9 @@ class Connection extends Component ]; // MySQL 特定的选项 - if ($driver === 'mysql') { - $options[\PDO::MYSQL_ATTR_INIT_COMMAND] = 'SET NAMES ' . $this->charset; - } +// if ($driver === 'mysql') { +// $options[\PDO::MYSQL_ATTR_INIT_COMMAND] = 'SET NAMES ' . $this->charset; +// } $pdo = new PDO($this->database, $this->cds, $this->username, $this->password, $options, $driver); foreach ($this->attributes as $key => $attribute) {