หลังจากที่เอา plugins FEDERATED ออก แล้ว compile ใหม่ ก็ยังเหมือนเดิม
เข้าไปดูใน hostname.err
090705 16:13:23 mysqld_safe mysqld from pid file /usr/local/var/hostname.pid ended
090705 16:18:29 mysqld_safe Starting mysqld daemon with databases from /usr/local/var
090705 16:18:31 InnoDB: Started; log sequence number 3 918852314
090705 16:18:31 [Note] Event Scheduler: Loaded 0 events
090705 16:18:31 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.1.36-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
หลังจาก start mysql แล้วใช้งานได้ปกติ รวมถึง Soundex Search ด้วย
แต่หลังจากใช้ Replicate ก็จะมี error เกิดขึ้น ดังนี้ (เผื่อ อ. ชัยพร จะแนะแนวทางการแก้ปัญหาครับ)
090705 16:29:18 [Warning] Statement may not be safe to log in statement format. Statement: ALTER TABLE general_log MODIFY COLUMN server_id INTEGER UNSIGNED NOT NULL
090705 16:29:18 [Warning] Statement may not be safe to log in statement format. Statement: ALTER TABLE slow_log MODIFY COLUMN server_id INTEGER UNSIGNED NOT NULL
090705 17:14:39 InnoDB: Assertion failure in thread 34387014512 in file row/row0mysql.c line 1534
InnoDB: Failing assertion: index->type & DICT_CLUSTERED
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.htmlInnoDB: about forcing recovery.
090705 17:14:39 - mysqld got signal 6 ;
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=268435456
read_buffer_size=1048576
max_used_connections=1
max_threads=500
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 1291159 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
090705 17:14:39 mysqld_safe mysqld restarted
InnoDB: Log scan progressed past the checkpoint lsn 3 918853851
090705 17:14:40 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.
InnoDB: Reading tablespace information from the .ibd files...
InnoDB: Restoring possible half-written data pages from the doublewrite
InnoDB: buffer...
InnoDB: Doing recovery: scanned up to log sequence number 3 919095169
090705 17:14:43 InnoDB: Starting an apply batch of log records to the database...
InnoDB: Progress in percents: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
InnoDB: Apply batch completed
InnoDB: Last MySQL binlog file position 0 211966, file name ./mysql-bin.000001
090705 17:14:47 InnoDB: Started; log sequence number 3 919095169
090705 17:14:47 [Note] Recovering after a crash using mysql-bin
090705 17:14:47 [Note] Starting crash recovery...
090705 17:14:47 [Note] Crash recovery finished.
090705 17:14:47 [Note] Event Scheduler: Loaded 0 events
090705 17:14:47 [Note] /usr/local/libexec/mysqld: ready for connections.
Version: '5.1.36-log' socket: '/tmp/mysql.sock' port: 3306 Source distribution
090705 17:14:49 InnoDB: Assertion failure in thread 34387014512 in file row/row0mysql.c line 1534
InnoDB: Failing assertion: index->type & DICT_CLUSTERED
InnoDB: We intentionally generate a memory trap.
InnoDB: Submit a detailed bug report to
http://bugs.mysql.com.
InnoDB: If you get repeated assertion failures or crashes, even
InnoDB: immediately after the mysqld startup, there may be
InnoDB: corruption in the InnoDB tablespace. Please refer to
InnoDB:
http://dev.mysql.com/doc/refman/5.1/en/forcing-recovery.htmlInnoDB: about forcing recovery.
090705 17:14:49 - mysqld got signal 6 ;
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.