<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[TNF : Tatter Network Foundation forum - MySQL 5.1 이상에서 테이블 생성 불가 이슈]]></title>
	<link rel="self" href="http://forum.tattersite.com/ko/extern.php?action=feed&amp;tid=11062&amp;type=atom"/>
	<updated>2012-12-21T11:37:23Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.tattersite.com/ko/viewtopic.php?id=11062</id>
		<entry>
			<title type="html"><![CDATA[RSS 답글: MySQL 5.1 이상에서 테이블 생성 불가 이슈]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=41973#p41973"/>
			<content type="html"><![CDATA[<p>정보 고맙습니다.<br />확인해보겠습니다.</p>]]></content>
			<author>
				<name><![CDATA[LonnieNa]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=9</uri>
			</author>
			<updated>2012-12-21T11:37:23Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=41973#p41973</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[MySQL 5.1 이상에서 테이블 생성 불가 이슈]]></title>
			<link rel="alternate" href="http://forum.tattersite.com/ko/viewtopic.php?pid=41972#p41972"/>
			<content type="html"><![CDATA[<p>textcube 1.8.6 버전을 MySQL 5.5.8 DB 에 설치시 7단계에서 &quot;테이블을 생성하지 못했습니다&quot; 에러가 계속<br />발생하여, 설치중 실행하는 모든 쿼리를 확인해 본 결과, 다음의 테이블 생성 쿼리에서 에러를 발생하는 것이 확인되었습니다.</p><div class="quotebox"><blockquote><p>)\&lt;o<br />CREATE TABLE tc_Attachments (<br />&nbsp; blogid int(11) NOT NULL default &#039;0&#039;,</p><p>&nbsp; .... (많은 필드들) .... (많은 필드들) ....</p><p>&nbsp; PRIMARY KEY&nbsp; (blogid,name)<br />) TYPE=MyISAM DEFAULT CHARSET=utf8<br />)\&lt;o<br />#42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;TYPE=MyISAM DEFAULT CHARSET=utf8&#039; at line 14</p></blockquote></div><p>해당 내용을 확인해 본 결과, 테이블 엔진을 선택하는 부분이 TYPE=MyISAM 으로 되어 있는데, MySQL 5.0 버전까지는 해당 쿼리의 형식이 다음과 같았습니다.<br />(엔진 선택 부분이 ENGINE 와 TYPE 을 동시 사용가능)<br /></p><div class="quotebox"><blockquote><p>table_option:<br />&nbsp; &nbsp; {ENGINE|TYPE} [=] engine_name</p><p>(<a href="http://dev.mysql.com/doc/refman/5.0/en/create-table.html">http://dev.mysql.com/doc/refman/5.0/en/ … table.html</a>)</p></blockquote></div><p>하지만, MySQL 5.1 이상부터는 해당 쿼리의 형식이 다음과 같이 변경되었습니다.<br />(엔진 선택 부분이 ENGINE 만으로 강제됨)<br /></p><div class="quotebox"><blockquote><p>table_option:<br />&nbsp; &nbsp; ENGINE [=] engine_name<br />(<a href="http://dev.mysql.com/doc/refman/5.1/en/create-table.html">http://dev.mysql.com/doc/refman/5.1/en/ … table.html</a>)</p></blockquote></div><br /><p>해당 내용의 확인을 부탁드립니다.<br />감사합니다.</p>]]></content>
			<author>
				<name><![CDATA[player0]]></name>
				<uri>http://forum.tattersite.com/ko/profile.php?id=4759</uri>
			</author>
			<updated>2012-12-20T19:15:12Z</updated>
			<id>http://forum.tattersite.com/ko/viewtopic.php?pid=41972#p41972</id>
		</entry>
</feed>
