From 150b644554b94cfcaeaacb70b112ba6e33ff6d82 Mon Sep 17 00:00:00 2001 From: py2tc4x5b <2058109913@qq.com> Date: Tue, 11 Apr 2023 16:13:09 +0800 Subject: [PATCH] Update jdbc.properties --- src/main/resources/jdbc.properties | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/resources/jdbc.properties b/src/main/resources/jdbc.properties index 4bcb7e4..f9bc3b4 100644 --- a/src/main/resources/jdbc.properties +++ b/src/main/resources/jdbc.properties @@ -1,14 +1,14 @@ -driver=com.mysql.jdbc.Driver +driver=com.mysql.cj.jdbc.Driver url=jdbc:mysql://127.0.0.1:3306/sp_emp username=root password=root -#定义初始连接数 + initialSize=0 -#定义最大连接数 + maxActive=20 -#定义最大空闲 + maxIdle=20 -#定义最小空闲 + minIdle=1 -#定义最长等待时间 + maxWait=60000 \ No newline at end of file