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