mysql jdbc spring boot 配置文件书写方法

    xiaoxiao2022-07-14  155

    spring.datasource.url = jdbc:mysql://localhost:3306/test?characterEncoding=utf8&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai spring.datasource.username = root spring.datasource.password = password spring.datasource.driver-class-name = com.mysql.cj.jdbc.Driver

    最新回复(0)