From d62a331e22c989b14aeb0a44a0b539f6f42e0492 Mon Sep 17 00:00:00 2001 From: SiHoonChris Date: Sat, 20 May 2023 18:48:39 +0900 Subject: [PATCH] =?UTF-8?q?2023.05.20=20PROTOCOL=5FPACKETS=5FOUT=5FOF=5FOR?= =?UTF-8?q?DER=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- routes/mysql.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/mysql.js b/routes/mysql.js index f6b5f72..cc8b754 100644 --- a/routes/mysql.js +++ b/routes/mysql.js @@ -1,7 +1,7 @@ const mysql = require('mysql'); require('dotenv').config(); -const connection = mysql.createConnection({ +const connection = mysql.createPool({ database: process.env.DB_DATABASE, host: process.env.DB_HOST, user: process.env.DB_USER,