spring jpa application.properties useSSL

前端 未结 3 667
逝去的感伤
逝去的感伤 2020-12-15 05:30

I am trying to turn off ssl, to my local mysql database. But I cannot find the actual property in a spring application.properties file that would do this.

my current

3条回答
  •  再見小時候
    2020-12-15 06:14

    Shouldn't you be using '?' instead of '&'

    This is yours

    spring.datasource.url =jdbc:mysql://localhost:3306/test&useSSL=false
    

    What I'm saying is

    spring.datasource.url = jdbc:mysql://localhost:3306/test?useSSL=false
    

提交回复
热议问题