MAMP Mysql Error - Failed to open log -
i've been working mamp installation several weeks now, , when started today not start. no mysql process running checked error log shows following when start server:
130826 14:19:55 mysqld_safe starting mysqld daemon databases /applications/mamp/db/mysql 130826 14:19:55 [warning] have forced lower_case_table_names 0 through command-line option, though file system '/applications/mamp/db/mysql/' case insensitive. means can corrupt myisam table accessing different cases. should consider changing lower_case_table_names 1 or 2 130826 14:19:55 [warning] 1 can use --user switch if running root 130826 14:19:55 [note] plugin 'federated' disabled. 130826 14:19:55 innodb: innodb memory heap disabled 130826 14:19:55 innodb: mutexes , rw_locks use gcc atomic builtins 130826 14:19:55 innodb: compressed tables use zlib 1.2.3 130826 14:19:55 innodb: initializing buffer pool, size = 128.0m 130826 14:19:55 innodb: completed initialization of buffer pool 130826 14:19:55 innodb: highest supported file format barracuda. 130826 14:19:55 innodb: waiting background threads start 130826 14:19:56 innodb: 1.1.8 started; log sequence number 4057202289 /applications/mamp/library/bin/mysqld: file './mysql-bin.000025' not found (errcode: 2) 130826 14:19:56 [error] failed open log (file './mysql-bin.000025', errno 2) 130826 14:19:56 [error] not open log file 130826 14:19:56 [error] can't init tc log 130826 14:19:56 [error] aborting 130826 14:19:56 innodb: starting shutdown... 130826 14:19:57 innodb: shutdown completed; log sequence number 4057202289 130826 14:19:57 [note] /applications/mamp/library/bin/mysqld: shutdown complete 130826 14:19:57 mysqld_safe mysqld pid file /applications/mamp/tmp/mysql/mysql.pid ended
so it's clear log file cannot found, don't know why happened, or how fix it.
it seems 1 of binary log files, applications/mamp/db/mysql/mysql-bin.000025
, got corrupted or deleted (it no longer there, , did not manually delete it).
after doing research , finding this post, able fix navigating /applications/mamp/db/mysql
, manually editing mysql-bin.index
no longer include missing log file.
i'm still little confused led issue though, since shut down mamp server , never touched binary log files...
Comments
Post a Comment