出了問題,先根據提示仔細檢查,再去百度。【敲黑板:由於頗有可能由於粗心碰到的問題百度到的只是相似的,而不同,那樣排查起來更費時!!】mysql
此次問題就在於,不要輕易相信IDEA的自動填充!!!spring
----------------正確-------------- spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/tensquare_article?characterEncoding=utf-8 username: root password: 123456 ---------------錯誤------------------- spring: datasource: driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://localhost:3306/tensquare_article?characterEncoding=utf-8 username: root data-password: 123456 #自動填充的是 data-password 而後就using password: NO