MySQL Forums
Forum List  »  General

MySQL won't start after battery failure
Posted by: NICHOLAS ROPER
Date: September 22, 2013 04:44PM

Hi,

I run MySQL 5.6.12 CE on a Macbook (Mountain Lion)

Earlier today the Mac shutdown unexpectedly and it seems that there has been a battery failure.

I can restart the Macbook with power plugged in but now I am getting errors when trying to run the mysql client. It would appear that MySQL is not running and I get output shown below. Have tried switching to root and running but still no joy - any ideas would be great.

Thanks,

Nick


nickroper:data nickroper$ mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
nickroper:data nickroper$ mysqld
2013-09-22 23:11:01 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2013-09-22 23:11:01 896 [Warning] Can't create test file /usr/local/mysql-5.6.12-osx10.7-x86_64/data/nickroper.lower-test
2013-09-22 23:11:01 896 [Warning] Can't create test file /usr/local/mysql-5.6.12-osx10.7-x86_64/data/nickroper.lower-test
2013-09-22 23:11:01 896 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Can't find file: './mysql/plugin.frm' (errno: 13 - Permission denied)
2013-09-22 23:11:01 896 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
2013-09-22 23:11:01 896 [Note] InnoDB: The InnoDB memory heap is disabled
2013-09-22 23:11:01 896 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2013-09-22 23:11:01 896 [Note] InnoDB: Compressed tables use zlib 1.2.3
2013-09-22 23:11:01 896 [Note] InnoDB: Using CPU crc32 instructions
2013-09-22 23:11:01 896 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2013-09-22 23:11:01 896 [Note] InnoDB: Completed initialization of buffer pool
2013-09-22 23:11:01 896 [ERROR] InnoDB: ./ibdata1 can't be opened in read-write mode
2013-09-22 23:11:01 896 [ERROR] InnoDB: The system tablespace must be writable!
2013-09-22 23:11:01 896 [ERROR] Plugin 'InnoDB' init function returned error.
2013-09-22 23:11:01 896 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2013-09-22 23:11:01 896 [ERROR] Unknown/unsupported storage engine: InnoDB
2013-09-22 23:11:01 896 [ERROR] Aborting

2013-09-22 23:11:01 896 [Note] Binlog end
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'partition'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'PERFORMANCE_SCHEMA'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_DATAFILES'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_TABLESPACES'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN_COLS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_FOREIGN'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_FIELDS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_COLUMNS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_INDEXES'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_TABLESTATS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_SYS_TABLES'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_INDEX_TABLE'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_INDEX_CACHE'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_CONFIG'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_BEING_DELETED'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_DELETED'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_FT_DEFAULT_STOPWORD'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_METRICS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_BUFFER_POOL_STATS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE_LRU'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_BUFFER_PAGE'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX_RESET'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMP_PER_INDEX'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMPMEM_RESET'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMPMEM'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMP_RESET'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_CMP'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_LOCK_WAITS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_LOCKS'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'INNODB_TRX'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'BLACKHOLE'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'ARCHIVE'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'MRG_MYISAM'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'MyISAM'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'MEMORY'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'CSV'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'sha256_password'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'mysql_old_password'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'mysql_native_password'
2013-09-22 23:11:01 896 [Note] Shutting down plugin 'binlog'
2013-09-22 23:11:01 896 [Note] mysqld: Shutdown complete

--
Nick Roper

Options: ReplyQuote


Subject
Written By
Posted
MySQL won't start after battery failure
September 22, 2013 04:44PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.