Bug #11403 Server crash if 'mysql' database is created with utf8 character set
Submitted: 16 Jun 2005 22:35 Modified: 13 Jul 2005 9:17
Reporter: Shuichi Tamagawa Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Installing Severity:S2 (Serious)
Version:5.0.8-beta-debug (bk Jun 16) OS:Linux (linux)
Assigned to: Assigned Account CPU Architecture:Any

[16 Jun 2005 22:35] Shuichi Tamagawa
Description:
If the mysql_install_db script tries to create mysql database with utf8 character set, mysqld crashes.

How to repeat:
1. Edit my.cnf file like below

[mysql]
default_character_set=utf8

2. Run mysql_install_db
[16 Jun 2005 22:38] Shuichi Tamagawa
Error on executing mysql_install_db

Attachment: error.log (text/x-log), 3.59 KiB.

[16 Jun 2005 22:40] Shuichi Tamagawa
Resolved stack

Attachment: stacktrace.log (text/x-log), 573 bytes.

[16 Jun 2005 22:41] Shuichi Tamagawa
I've attached the output from mysql_isntall_db and the result of the stack trace.
[17 Jun 2005 11:59] Aleksey Kishkin
tested on slackware 10
[30 Jun 2005 11:32] Alexander Barkov
An easier script reproducing the same problem:

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (a set('a') DEFAULT 0 NOT NULL) CHARSET=utf8;
[13 Jul 2005 9:17] Alexander Barkov
Hello Shuichi, 
although  http://bugs.mysql.com/bug.php?id=11819 was reported
later than this one, it describes the sources of the problem clearer.
So, I'm closing this report as duplicate, and will fix the problem
under the terms of bug#11819. Thanks for reporting anyway  :)