boot连接不上mysql数据库_【springboot连接 MYSQL数据库出问题_springboot】 | IT修真院·坑乎...
Spring:
datebase:
driver-class-name: com.mysql.jdbc.Driver
url: jdbc:mysql://localhost:3306/spring-cloud?useUnicode=true&characterEncoding=utf8&characterSetResults=utf8
username: root
password: 123456
jpa:
hibernate:
ddl-auto: create # 第一次簡表create 后面用update
show-sql: true
Error starting ApplicationContext. To display the auto-configuration report re-run your application with 'debug' enabled.
2018-09-12 22:51:50.598 ERROR 22664 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
Cannot determine embedded database driver class for database type NONE
Action:
If you want an embedded database please put a supported one on the classpath. If you have database settings to be loaded from a particular profile you may need to active it (no profiles are currently active).
Disconnected from the target VM, address: '127.0.0.1:58559', transport: 'socket'
總結
以上是生活随笔為你收集整理的boot连接不上mysql数据库_【springboot连接 MYSQL数据库出问题_springboot】 | IT修真院·坑乎...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 遗传性雀斑怎么去掉?用什么护肤品好呢
- 下一篇: 经典电影电视剧主题曲,插曲,请问您想得到