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
  • ブックマーク :
    Warning: Use of undefined constant SBM_count_get - assumed 'SBM_count_get' (this will throw an Error in a future version of PHP) in /var/www/futuremix.org/wp-content/themes/futuremix/index.php on line 40

    Warning: Use of undefined constant show_post_count - assumed 'show_post_count' (this will throw an Error in a future version of PHP) in /var/www/futuremix.org/wp-content/themes/futuremix/index.php on line 40
    アクセス: 56,667回
  • カテゴリー : Linux
  • キーワード : ,

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

No comments yet.

Sorry, the comment form is closed at this time.

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