<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi all<div>I've been started to look at Drizzle compability with MySQL, and the first issue i got is the Charset and Collation</div><div><br></div><div>I've been looking through Drizzle documentation and it said that currently Drizzle only support utf8 charset and collation. But as i seen the code on latest trunk, phpMyAdmin simply disable it rather than set it to utf8.</div><div><br></div><div>As i tested on <b>Drizzle7 2011.03.13</b>, we can look at supported charset by query:</div><div><b>SELECT * from DATA_DICTIONARY.CHARACTER_SETS; </b>As replacement of <b>SHOW CHARACTER SET;</b> on MySQL</div><div><br></div><div>And for the collation:</div><div><b>SELECT * from DATA_DICTIONARY.COLLATIONS; </b>As replacement of <b>SHOW COLLATION;</b> on MySQL</div><div><br></div><div>But, the table structure is little bit confusing here, because in MySQL we can match the `Charset` field on both result, but in Drizzle i've to match <span class="Apple-style-span" style="font-size: 12px; ">`CHARACTER_SET_NAME` on charset result and `DESCRIPTION` on collation result.</span></div><div><br></div><div><span class="Apple-style-span" style="font-size: 12px; ">At least, now phpMyAdmin can show correct charset and collation on the <b>Charsets</b> menu.</span></div><div>I already send patch for this issue [1]</div><div><span class="Apple-style-span" style=""><br></span></div><div><span class="Apple-style-span" style="font-size: 12px; "></span></div><div><span class="Apple-style-span" style="font-size: 12px; ">But, i got another issue, for example when submit <b>Create table form</b>, it thrown error "CHARACTER SET" because it's removed on Drizzle [1], but "COLLATE" seems to be supported [2]</span></div><div><span class="Apple-style-span" style="font-size: 12px; "><br></span></div><div><span class="Apple-style-span" style="font-size: 12px; ">I'll give more investigation on this issue.</span></div><div><br></div><div>[1] <a href="https://sourceforge.net/tracker/?func=detail&aid=3280876&group_id=23067&atid=377410">https://sourceforge.net/tracker/?func=detail&aid=3280876&group_id=23067&atid=377410</a></div><div><span class="Apple-style-span" style="font-size: 12px; ">[2] <a href="http://docs.drizzle.org/mysql_differences.html#objects-removed">http://docs.drizzle.org/mysql_differences.html#objects-removed</a></span></div><div><span class="Apple-style-span" style="font-size: 12px; ">[3] <a href="http://docs.drizzle.org/create_table.html?highlight=create%20table#data-type">http://docs.drizzle.org/create_table.html?highlight=create%20table#data-type</a></span><span class="Apple-style-span" style="font-size: 12px; "> </span></div><div><br></div><div><span class="Apple-style-span" style="font-size: 12px; ">Regards</span></div><div><span class="Apple-style-span" style="font-size: 12px; ">Azhari Harahap</span></div><div><span class="Apple-style-span" style="font-size: 12px; "><a href="http://azhari.harahap.us">http://azhari.harahap.us</a></span></div></body></html>