Bug #11403 Server crash if 'mysql' database is created with utf8 character set
Submitted: 17 Jun 2005 0:35 Modified: 13 Jul 2005 11:17
Reporter: Shuichi Tamagawa
Status: Duplicate
Category:Server: Installing Severity:S2 (Serious)
Version:5.0.8-beta-debug (bk Jun 16) OS:Linux (linux)
Assigned to: Alexander Barkov Target Version:

[17 Jun 2005 0: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
[17 Jun 2005 0:38] Shuichi Tamagawa
Error on executing mysql_install_db

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

[17 Jun 2005 0:40] Shuichi Tamagawa
Resolved stack

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

[17 Jun 2005 0:41] Shuichi Tamagawa
I've attached the output from mysql_isntall_db and the result of the stack trace.
[17 Jun 2005 13:59] Aleksey Kishkin
tested on slackware 10
[30 Jun 2005 13: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 11: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  :)