mysqldump: Got error: 1556

2013-2-28 09:25
このエントリーをはてなブックマークに追加

CentOS 5.9 から MySQL 5.1 に mysqldmup をしたら次のようなエラーが

mysqldump: Got error: 1556: You can't use locks with log tables. when using LOCK TABLES

とくに LOCK TABLE を使ったわけではないものの、mysqldump 内で使っているらしい。回避策は --lock-tables=0 を追加して実行する。

mysqldmup -h mysql_server -uroot -p  --lock-tables=0 database_name > mysql_dump.sql
  • ブックマーク : アクセス: 58,012回
  • カテゴリー : Linux
  • キーワード : ,

コメントはまだありません

No comments yet.

Sorry, the comment form is closed at this time.

32 queries. HTML convert time: 0.072 sec. Powered by WordPress. Valid XHTML
Copyright © 2003-2017 @ futuremix.org ログイン