今天连接myslq发现建表总是失败,经过一个多小时的百度,总算有收获.
主要是<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>然后改为
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>我 用的mysql 5.7.17版本的
今天连接myslq发现建表总是失败,经过一个多小时的百度,总算有收获.
主要是<property name="hibernate.dialect">org.hibernate.dialect.MySQL5Dialect</property>然后改为
<property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>我 用的mysql 5.7.17版本的