zoukankan      html  css  js  c++  java
  • Spring Boot多数据库配置

    #datasource
    spring.datasource.url=jdbc:mysql://120.26.246.185:3306/gaea?&useSSL=false
    spring.datasource.username=xiezhiyan
    spring.datasource.password=yilvxzy
    spring.datasource.driver-class-name=com.mysql.jdbc.Driver
    spring.datasource.max-idle=10
    spring.datasource.max-wait=10000
    spring.datasource.min-idle=5
    spring.datasource.initial-size=5
    spring.datasource.validation-query=SELECT 1
    spring.datasource.test-on-borrow=false
    spring.datasource.test-while-idle=true
    spring.datasource.time-between-eviction-runs-millis=18800

    spring.datasource.guide.url=jdbc:mysql://120.26.246.185:3306/apollo?&useSSL=false
    spring.datasource.guide.username=xiezhiyan
    spring.datasource.guide.password=yilvxzy
    spring.datasource.guide.driver-class-name=com.mysql.jdbc.Driver
    spring.datasource.guide.max-idle=10
    spring.datasource.guide.max-wait=10000
    spring.datasource.guide.min-idle=5
    spring.datasource.guide.initial-size=5
    spring.datasource.guide.validation-query=SELECT 1
    spring.datasource.guide.test-on-borrow=false
    spring.datasource.guide.test-while-idle=true
    spring.datasource.guide.time-between-eviction-runs-millis=18800

  • 相关阅读:
    亲和数
    改革春风吹满地
    处理选中图片
    项目架构(结构)搭建:主流结构(UITabBarController + 导航控制器)
    iOS应用启动main函数
    LaunchScreen&LaunchImage
    颜色常识
    折半查找法(二分法)
    冒泡排序
    多用户登录
  • 原文地址:https://www.cnblogs.com/mkxzy/p/7089085.html
Copyright © 2011-2022 走看看