Home >Web Front-end >JS Tutorial >How to solve the problem that the console prints out the sql statement without error and the table is not created in the database
The dialect in hibernate does not match the version of Mysql. Type=InnoDB in the SQL statement was used before MySQL5.0. After 5.0, engine=InnoDB must be used. <br>
MySql5.0之前的配置 <property name="dialect">org.hibernate.dialect.MySQLInnoDBDialect</property>5.0之后需要使用<property name="dialect">org.hibernate.dialect.MySQL5InnoDBDialect</property>
<br>
测试确实成功了
The above is the detailed content of How to solve the problem that the console prints out the sql statement without error and the table is not created in the database. For more information, please follow other related articles on the PHP Chinese website!