MySQL on FreeBSD

CONTENTS


Lastmodified 2015-09-17 (木) 19:22:50


MySQL Trouble

稼働中のMySQL55のライブラリというかMySQLサーバファイルそのものを誤って消してしまいました。

55クライアントと55サーバをインストール。

55サーバを起動しようとするとエラーで起動せず。

150917 18:57:52 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 0 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
150917 18:57:52 [ERROR] Plugin 'InnoDB' init function returned error.
150917 18:57:52 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150917 18:57:52 [ERROR] Unknown/unsupported storage engine: InnoDB
150917 18:57:52 [ERROR] Aborting

あれこれやったけど、結局は、

ib_logfile0 と ib_logfile1 

の両方をを削除することで起動できた。

# mysql_upgrade -u root -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
This installation of MySQL is already upgraded to 5.5.44, use --force if you still need to run mysql_upgrade

(;-・。・-;)

http://absg.hatenablog.com/entry/2014/08/12/160716


Total access 2018:本日 1:昨日 0

Counter: 2018, today: 1, yesterday: 0

トップ   編集 凍結 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2015-09-17 (木) 19:22:50