diff --git a/src/main/resources/jdbc.properties b/src/main/resources/jdbc.properties new file mode 100644 index 0000000..4bcb7e4 --- /dev/null +++ b/src/main/resources/jdbc.properties @@ -0,0 +1,14 @@ +driver=com.mysql.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