0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

mysqldump (Ver 8.0.32)--single-transactionオプションエラー

Posted at

ec2でmysqldumpがエラーになりました。

--single-transactionオプションが引っかかるようです。

以下のエラーが出ます。

mysqldump: Couldn't execute 'FLUSH TABLES WITH READ LOCK': Access denied for user 'admin'@'%' (using password: YES) (1045)

以下のバージョンが対象になるようです。
https://qiita.com/is0383kk/items/41550e44569790d34ce1

mysqldump Ver 8.0.32 for Linux on x86_64 (MySQL Community Server - GPL)

8.0.34にアップデートしてもエラー回避できず、結局以下のコマンドで8.0.31にダウングレードして対応できました。

# yum downgrade mysql-community-client-plugins-8.0.31-1.el7 mysql-community-client-8.0.31-1.el7 mysql-community-libs-8.0.31-1.el7
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?