美文网首页
application.yml

application.yml

作者: dillqq | 来源:发表于2020-02-11 17:18 被阅读0次
    # 数据库连接信息
    spring:
      profiles:
      active: default
        datasource:
        # Mysql连接URL,只需要修改前半部分 mysql://127.0.0.1:3306/test_new
        url: jdbc:mysql://127.0.0.1:3306/jdbc?    useAffectedRows=true&useSSL=false&useUnicode=true&characterEncoding=utf8&s      erverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
        # 用户名
        username: root
        # 密码
        password: 123456
        # 驱动名称(如果使用MySQL的话无需修改)
         driver-class-name: com.mysql.jdbc.Driver

    相关文章

      网友评论

          本文标题:application.yml

          本文链接:https://www.haomeiwen.com/subject/suwxfhtx.html