# ./bin/mysql_install_db \ > --no-defaults \ > --basedir=/mnt/sda6/dest/ \ > --user=mysql \ > --skip-name-resolve \ > --verbose \ > --debug=d:t:i:o,/mnt/sda6/dest/var/mysqld.trace \ > --log=/mnt/sda6/dest/var/mysqld.log \ > Installing all prepared tables Preparing db table Preparing host table Preparing user table Preparing func table Preparing plugin table Preparing tables_priv table Preparing columns_priv table Preparing procs_priv table Preparing help_topic table Preparing help_category table Preparing help_keyword table Preparing help_relation table Preparing time_zone_name table Preparing time_zone table Preparing time_zone_transition table Preparing time_zone_transition_type table Preparing time_zone_leap_second table Preparing general_log table Preparing slow_log table mysqld got signal 11; This could be because you hit a bug. It is also possible that this binary or one of the libraries it was linked against is corrupt, improperly built, or misconfigured. This error can also be caused by malfunctioning hardware. We will try our best to scrape up some info that will hopefully help diagnose the problem, but since we have already crashed, something is definitely wrong and this may fail. key_buffer_size=8388572 read_buffer_size=131072 max_used_connections=0 max_connections=100 threads_connected=1 It is possible that mysqld could use up to key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections = 225788 K bytes of memory Hope that's ok; if not, decrease some variables in the equation. thd=0x86d0228 Attempting backtrace. You can use the following information to find out where mysqld died. If you see no messages after this, something went terribly wrong... Cannot determine thread, fp=0xb747ca58, backtrace may not be correct. Stack range sanity check OK, backtrace follows: 0x81a6853 handle_segfault + 643 0xffffe420 _end + -141185360 0xb7d30aa9 _end + -1352084167 0x82626dc _Z16rea_create_tableP3THDPKcS2_S2_P24st_ha_create_informationR4ListI12create_fieldEjP6st_keyP7handler + 364 0x8295ed3 _Z18mysql_create_tableP3THDPKcS2_P24st_ha_create_informationR4ListI12create_fieldERS5_I3KeyEbj + 2563 0x81c6888 _Z21mysql_execute_commandP3THD + 30136 0x81c7240 _Z11mysql_parseP3THDPcj + 816 0x81c9ea3 handle_bootstrap + 947 0xb7ea0206 _end + -1350579050 New value of fp=(nil) failed sanity check, terminating stack trace! Please read http://dev.mysql.com/doc/mysql/en/Using_stack_trace.html and follow instructions on how to resolve the stack trace. Resolved stack trace is much more helpful in diagnosing the problem, so please do resolve it Trying to get some variables. Some pointers may be invalid and cause the dump to abort... thd->query at 0x86d77f0 = CREATE TABLE db ( Host char(60) binary DEFAULT '' NOT NULL, Db char(64) binary DEFAULT '' NOT NULL, User char(16) binary DEFAULT '' NOT NULL, Select_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Insert_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Update_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Delete_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Create_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Drop_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Grant_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, References_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Index_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Alter_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Create_tmp_table_priv enum('N','Y') COLLATE utf8_general_ci DEFAULT 'N' NOT NULL, Lock_tables_priv enum('N','Y') COLLATE utf8_genera thd->thread_id=1 The manual page at http://www.mysql.com/doc/en/Crashing.html contains information that should help you find out what is causing the crash. Installation of system tables failed! Examine the logs in /mnt/sda6/dest//var for more information. You can also try to start the mysqld daemon with: /mnt/sda6/dest//libexec/mysqld --skip-grant & You can use the command line tool /mnt/sda6/dest//bin/mysql to connect to the mysql database and look at the grant tables: shell> /mnt/sda6/dest//bin/mysql -u root mysql mysql> show tables Try 'mysqld --help' if you have problems with paths. Using --log gives you a log in /mnt/sda6/dest//var that may be helpful. The latest information about MySQL is available on the web at http://www.mysql.com Please consult the MySQL manual section: 'Problems running mysql_install_db', and the manual section that describes problems on your OS. Another information source is the MySQL email archive. Please check all of the above before mailing us! And if you do mail us, you MUST use the /mnt/sda6/dest//bin/mysqlbug script! # find var/ var/ var/test var/mysql var/mysql/db.frm var/mysqld.trace