mysql沒有停止服務就修改了my.ini,後來重啓報1067錯誤,不知道是不是因爲沒有停止mysql的原因。解決步驟如下:
1.進入my.ini的datadir 指向的目錄,查看.err結尾的錯誤日誌。
2.我的報
120827 14:08:19 [Note] Plugin
'FEDERATED'
is
disabled.
120827 14:08:19 InnoDB: The InnoDB memory heap
is
disabled
120827 14:08:19 InnoDB: Mutexes
and
rw_locks use Windows interlocked functions
120827 14:08:19 InnoDB: Compressed tables use zlib 1.2.3
120827 14:08:19 InnoDB: Initializing buffer pool,
size
= 4.0G
120827 14:08:20 InnoDB: Completed initialization
of
buffer pool
InnoDB: Error: log file .\ib_logfile0
is
of
different
size
0 56623104 bytes
InnoDB: than specified
in
the .cnf file 0 268435456 bytes!
於是上網找了找,將datadir指向目錄下的ib_logfile0與b_logfile1兩個文件刪除就可以啓動了。