spring.datasource.url=jdbc:mysql://127.0.0.1:3306/pc-exam?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true spring.datasource.username=exam_student spring.datasource.password=QASDasd_1_3_#_!_P@ssw0rd! spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver server.port=48082 spring.main.banner-mode=off # MyBatis-Plus ?????? mybatis-plus.configuration.map-underscore-to-camel-case=true mybatis-plus.mapper-locations=classpath*:/mapper/**/*.xml mybatis-plus.type-aliases-package=com.example.exam.exam.dal # --- ???????? --- # ????????????????????????????????????? # ????????20-50 ??????????? spring.datasource.hikari.maximum-pool-size=20 # ???????????? maximum-pool-size ??????????????/????? spring.datasource.hikari.minimum-idle=1 # ?????????????????????????????????? # ??????????????????????????????? spring.datasource.hikari.max-lifetime=600000 # ???????????????????????????????? > minimum-idle??????? spring.datasource.hikari.idle-timeout=300000 # ???? Hibernate ????????? Dialect ?? spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL8Dialect spring.security.user.name=exam spring.security.user.password=exam123