关于mysql连接报错Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 记录

 

 

这个配置我Mysql的jar包引用的是

关于mysql连接报错Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 记录

错误原因: 
提示说是数据源配置错误,dialect,driver_class,url,username,password。检查一下这五项


解决方法: 
org.hibernate.dialect.MySQL5Dialect:新版本的mysql配置
org.hibernate.dialect.MySQLDialect :老版本的mysql 配置

关于mysql连接报错Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 记录

相关文章: