MySQL エラー対応
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
]
開始行:
目次~
#contents
*起動エラー [#nc006470]
**innodb_log_file_size変更後のエラー [#fc57e5ab]
***事象 [#jddfc447]
innodbのログファイルサイズを変更した際、正しい段取りを踏...
-エラー内容
InnoDB: Error: log file ./ib_logfile0 is of different si...
InnoDB: than specified in the .cnf file 0 524288000 bytes!
140319 12:21:55 [ERROR] Plugin 'InnoDB' init function re...
140319 12:21:55 [ERROR] Plugin 'InnoDB' registration as ...
140319 12:21:55 [ERROR] Unknown/unsupported storage engi...
140319 12:21:55 [ERROR] Aborting
***対策 [#k341dd49]
以下の手順にて対策を行う。~
-1. MySQLに管理者権限でアクセスし、以下を実行
mysql> SET GLOBAL innodb_fast_shutdown=0;
-2. MySQLを停止する
/etc/init.d/mysqld stop
-3. 既存のログファイルを退避
cd [MySQLのDB領域]
mv ib_logfile* /tmp
-4. innodb_log_file_sizeを適正値に変更
-5. MySQLを起動
/etc/init.d/mysqld start
~
起動時にログファイルが生成されるため、初回起動時には通常...
終了行:
目次~
#contents
*起動エラー [#nc006470]
**innodb_log_file_size変更後のエラー [#fc57e5ab]
***事象 [#jddfc447]
innodbのログファイルサイズを変更した際、正しい段取りを踏...
-エラー内容
InnoDB: Error: log file ./ib_logfile0 is of different si...
InnoDB: than specified in the .cnf file 0 524288000 bytes!
140319 12:21:55 [ERROR] Plugin 'InnoDB' init function re...
140319 12:21:55 [ERROR] Plugin 'InnoDB' registration as ...
140319 12:21:55 [ERROR] Unknown/unsupported storage engi...
140319 12:21:55 [ERROR] Aborting
***対策 [#k341dd49]
以下の手順にて対策を行う。~
-1. MySQLに管理者権限でアクセスし、以下を実行
mysql> SET GLOBAL innodb_fast_shutdown=0;
-2. MySQLを停止する
/etc/init.d/mysqld stop
-3. 既存のログファイルを退避
cd [MySQLのDB領域]
mv ib_logfile* /tmp
-4. innodb_log_file_sizeを適正値に変更
-5. MySQLを起動
/etc/init.d/mysqld start
~
起動時にログファイルが生成されるため、初回起動時には通常...
ページ名: