数据库
首页 > 数据库> > mysql链接url参数设置

mysql链接url参数设置

作者:互联网

https://www.cnblogs.com/softidea/p/5765624.html

https://blog.csdn.net/sinat_30397435/article/details/72518215

https://www.cnblogs.com/EasonJim/p/7659475.html

spring:
    datasource:
        type: com.alibaba.druid.pool.DruidDataSource
        driverClassName: com.mysql.cj.jdbc.Driver
        druid:
            # 主库数据源
            master:
                url: jdbc:mysql://ip:端口/项目?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
                username: ***
                password: ***

  

标签:www,jdbc,url,com,https,mysql,true,参数设置
来源: https://www.cnblogs.com/person008/p/16068962.html