{"id":3191,"date":"2011-02-03T09:50:08","date_gmt":"2011-02-03T00:50:08","guid":{"rendered":"http:\/\/akimoto.jp\/blog\/?p=3191"},"modified":"2011-02-03T09:50:08","modified_gmt":"2011-02-03T00:50:08","slug":"propel-mysql55-sql-error-on-type-innodb","status":"publish","type":"post","link":"https:\/\/akimoto.jp\/blog\/2011\/02\/03\/propel-mysql55-sql-error-on-type-innodb\/","title":{"rendered":"symfony1.x+propel1.3+MySQL5.1\/5.5\u3067\u751f\u6210\u3057\u305fSQL\u306eCreate Table\u304cType=InnoDB\u3067\u5931\u6557\u3059\u308b\u5834\u5408\u306e\u5bfe\u51e6\u6cd5"},"content":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u3092MySQL5.0\u304b\u30895.5\u306b\u5909\u3048\u305f\u3089\u3001symfony1.2+propel\u3067build:all\u3057\u305f\u969b\u306b\u751f\u6210\u3055\u308c\u305fSQL\u304c\u30a8\u30e9\u30fc\u3067\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc<\/p>\n<blockquote><p>You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \u2018Type=InnoDB\u2019 at line 13\n<\/p><\/blockquote>\n<p>MySQL5.1\u4ee5\u964d\u3067\u3001\u30c6\u30fc\u30d6\u30eb\u306e\u30a8\u30f3\u30b8\u30f3\u6307\u5b9a\u3067type=\u304c\u4f7f\u3048\u306a\u304f\u306a\u308a\u3001<a href=\"http:\/\/dev.mysql.com\/doc\/refman\/5.1\/en\/create-table.html\">engine=\u3068\u66f8\u304b\u306a\u3051\u308c\u3070\u3044\u3051\u306a\u304f\u306a\u3063\u305f<\/a>\u3088\u3046\u3067\u3059(table_option\u306e\u3068\u3053\u308d)\u3002<a href=\"http:\/\/zippykid.com\/blog\/2010\/05\/symfony-mysql5-5-error\/\">propel1.4\u4ee5\u524d\u306e\u30b8\u30a7\u30cd\u30ec\u30fc\u30bf\u30fc\u3067\u306f&#8221;type=InnoDB&#8221;\u306e\u3088\u3046\u306aSQL\u6587\u3092\u751f\u6210\u3057\u3066\u3044\u308b<\/a>\u306e\u3067\u3001\u53e4\u3044propel\u3092\u4f7f\u3063\u3066\u3044\u308bsymfony1.x\u3067\u306fMySQL\u30925.1\u4ee5\u4e0a\u306b\u5909\u66f4\u3057\u305f\u969b\u306b\u30c6\u30fc\u30d6\u30eb\u304c\u751f\u6210\u3067\u304d\u306a\u304f\u306a\u3063\u3066\u3057\u307e\u3044\u307e\u3059\u3002<\/p>\n<p>symfony1.2\u304cpropel1.3-dev\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u306f\u306a\u3055\u305d\u3046\u306a\u306e\u3067\u3001\u3053\u308c\u3092\u56de\u907f\u3059\u308b\u306b\u306f\u3001\u81ea\u5206\u3067propel\u306b\u30d1\u30c3\u30c1\u3092\u3042\u3066\u308b\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>(symfony)\/lib\/plugins\/sfPropelPlugin\/lib\/vendor\/propel-generator\/classes\/propel\/engine\/builder\/sql\/mysql\/MysqlDDLBuilder.php<\/p>\n<p>163\u884c\u76ee\u306e<\/p>\n<blockquote><p>\t\t$script .= &#8220;Type=$mysqlTableType&#8221;;\n<\/p><\/blockquote>\n<p>\u3092\u3001<\/p>\n<blockquote><p>\t\t$script .= &#8220;Engine=$mysqlTableType&#8221;;\n<\/p><\/blockquote>\n<p>\u306b\u4fee\u6b63\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b5\u30fc\u30d0\u30fc\u3092MySQL5.0\u304b\u30895.5\u306b\u5909\u3048\u305f\u3089\u3001symfony1.2+propel\u3067build:all\u3057\u305f\u969b\u306b\u751f\u6210\u3055\u308c\u305fSQL\u304c\u30a8\u30e9\u30fc\u3067\u52d5\u304b\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002 \u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc You have an error in y &hellip; <a href=\"https:\/\/akimoto.jp\/blog\/2011\/02\/03\/propel-mysql55-sql-error-on-type-innodb\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">symfony1.x+propel1.3+MySQL5.1\/5.5\u3067\u751f\u6210\u3057\u305fSQL\u306eCreate Table\u304cType=InnoDB\u3067\u5931\u6557\u3059\u308b\u5834\u5408\u306e\u5bfe\u51e6\u6cd5<\/span><\/a><\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[472],"tags":[1576,1571,1573,1574,235,1569,1570,864,1575,1572],"class_list":["post-3191","post","type-post","status-publish","format-standard","hentry","category-symfony-php","tag-bug","tag-create-table","tag-engine","tag-innodb","tag-mysql","tag-propel1-3","tag-propel1-4","tag-symfony12","tag-syntax-error","tag-type"],"_links":{"self":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/3191","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/comments?post=3191"}],"version-history":[{"count":1,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/3191\/revisions"}],"predecessor-version":[{"id":3192,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/posts\/3191\/revisions\/3192"}],"wp:attachment":[{"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/media?parent=3191"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/categories?post=3191"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/akimoto.jp\/blog\/wp-json\/wp\/v2\/tags?post=3191"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}