春风项目四线(合箱线、总装线)
wujian
2024-07-12 1bd07f198e75ee611bb4d1e6a12b7080a25db5e8
jcdm-admin/src/main/resources/application-druid.yml
@@ -15,11 +15,27 @@
        driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver
        druid:
            # 主库数据源
#            master:
#                url: jdbc:sqlserver://192.168.0.189:1433;DataBaseName=Jcdm041-Mes
#                username: sa
#                password: JCDM@2023
#            master:
#                 url: jdbc:sqlserver://127.0.0.1:1433;DataBaseName=Jcdm041-Mes
#                 username: sa
#                 password: 123456
#            master:
#                 url: jdbc:sqlserver://127.0.0.1:1433;DataBaseName=Jcdm041-Mes
#                 username: dt
#                 password: dtroot
            master:
                url: jdbc:sqlserver://192.168.0.189:1433;DataBaseName=jcdm-mes
                username: sa
                password: JCDM@2023
                 url: jdbc:sqlserver://192.168.6.238:1433;DataBaseName=Jcdm041-Mes
                 username: dt
                 password: dtroot
            # 从库数据源
#            master:
#                url: jdbc:sqlserver://183.134.244.158:1433;DataBaseName=Jcdm041-Mes
#                username: sa
#                password: JCDM@2023
            slave:
                # 从数据源开关/默认关闭
                enabled: false