码迷,mamicode.com
首页 > 数据库 > 详细

check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7

时间:2017-08-01 14:25:39      阅读:186      评论:0      收藏:0      [点我收藏+]

标签:ber   csdn   .net   ase   link   get   hiberna   mysqli   near   

第一种是:解决MySQL的版本问题(我用的是mysql 5.5版本),mysql 5.0版本以后的数据库方言是:org.hibernate.dialect.MySQ5LInnoDBDialect。第二种是,如果你数据库方言用的是MySQLInnoDBDialect,这个要表存在才能用。可是你没建表,所以你应该改用MySQLDialect。以下是MySQLDialect和MySQLInnoDBDialect的区别:MySQLDialect:表名不存在下使用。MySQLInnoDBDialect:表名存在的情况下使用

 

link:

http://blog.csdn.net/zys_zhou66/article/details/53763780

check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7

标签:ber   csdn   .net   ase   link   get   hiberna   mysqli   near   

原文地址:http://www.cnblogs.com/ysloong/p/7267840.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!