From e9e3bcda50a3d24a8e27e8e1d3563073d142c60e Mon Sep 17 00:00:00 2001 From: jisangs Date: Sun, 25 Oct 2026 16:51:40 +0900 Subject: [PATCH] =?UTF-8?q?mysqli=20=ED=95=A8=EC=88=98=20=EC=95=88?= =?UTF-8?q?=EC=97=90=EC=84=9C=20"p:"=20=EC=98=B5=EC=85=98=20=EC=A0=9C?= =?UTF-8?q?=EA=B1=B0=20(=EC=BB=A4=EB=84=A5=EC=85=98=20=ED=92=80=EC=9D=B4?= =?UTF-8?q?=20=EC=95=84=EB=8B=88=EC=97=88=EC=9D=8C.=20=EC=98=81=EA=B5=AC?= =?UTF-8?q?=20=EC=97=B0=EA=B2=B0=20=EA=B8=B0=EB=8A=A5=EC=9E=84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/server/setup/connect_db.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/web/server/setup/connect_db.php b/src/web/server/setup/connect_db.php index f3f0a4f..cc70616 100644 --- a/src/web/server/setup/connect_db.php +++ b/src/web/server/setup/connect_db.php @@ -17,7 +17,7 @@ if (!isset($db_port)) $db_port = 3306; mysqli_report(MYSQLI_REPORT_OFF); // connect db with persistent connection (connection pool) -$db_conn = new mysqli("p:".$db_host, $db_user, $db_passwd, $db_name, $db_port); +$db_conn = new mysqli($db_host, $db_user, $db_passwd, $db_name, $db_port); if ($db_conn->connect_error) { set_error_message("DB connection failed."); @@ -28,7 +28,7 @@ if ($db_conn->connect_error) { // verify connection is alive (handle wait_timeout from server) if (!$db_conn->ping()) { $db_conn->close(); - $db_conn = new mysqli("p:".$db_host, $db_user, $db_passwd, $db_name, $db_port); + $db_conn = new mysqli($db_host, $db_user, $db_passwd, $db_name, $db_port); if ($db_conn->connect_error) { set_error_message("DB connection failed."); send_result_fail();