Cannot determine embedded database driver class for database type NONE

来源:4-1 买家类目-dao(上)

河阳菜

2018-11-23

图片描述
同样的配置用properties可以正常运行改成yml就报错百度已经解救不了我了,求解

写回答

2回答

廖师兄

2018-11-27

对比一下我给的源码

url: jdbc:mysql://127.0.0.1:3306/sell?characterEncoding=utf-8&useSSL=false

数据库端口默认是3306,数据库名是sell

0
2
廖师兄
回复
河阳菜
你把你的代码push到git, 链接发我,我帮你看看
2018-11-28
共2条回复

Grain_Snow

2018-11-26

from the Exception of Idea sent , most likely is that it can not find your database,so you should cheer up database server or your dababase name is wrong .

change your database name from 'cell' to 'sell' , and have a try

0
1
河阳菜
The database name was written incorrectly when i create it so the database configuration is correct
2018-11-26
共1条回复

Spring Boot双版本(1.5/2.1) 打造企业级微信点餐系统

从0到1开发中小型企业级Java应用,并学会迭代重构技巧

6410 学习 · 5247 问题

查看课程