- Newest
- Most votes
- Most comments
This isn't an answer, exactly, but is at least more information.
The update from 8.0.31 to 8.0.32 did, indeed, cause this change. It was a change to avoid potentially inconsistent data in the dump file. (See this commit: https://github.com/mysql/mysql-server/commit/022e73ba6976b984658a1c2652178cd4b81aec28) The "fix" is to use FLUSH TABLES WITH READ LOCK
.
However, it breaks mysqldumps against AWS instances because AWS doesn't allow FLUSH TABLES WITH READ LOCK
because that in turn would break the AWS RDS backups (as per the earlier article: https://aws.amazon.com/premiumsupport/knowledge-center/mysqldump-error-rds-mysql-mariadb/).
So, it appears that upgrading to 8.0.32 clients does put AWS RDS users in a bit of a bind for now.
More information (the resource for everything I just posted) is found here: https://bugs.mysql.com/bug.php?id=109685
Relevant content
- asked 8 months ago
- asked 9 months ago
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 4 years ago
For Ubuntu / Debian hosts, check /var/cache/apt/archives for the 8.0.31 .deb files for re-install. It's not easy to do from the official channels since 8.0.32 is a security update.
For anyone else that this effects who may come across it. I can confirm that I re-installed the 8.0.31 .deb files (
dpkg -i *mysql*_8.0.31*
) and my batch process withmysqldump
now completes as expected.This issue also affects mysql-community-client 5.7.41. Downgrading to 5.7.40 fixes mysqldump for those on 5.7. The package is still available from the MySQL RPM repo at https://dev.mysql.com/get/mysql80-community-release-el7-7.noarch.rpm
how AWS releases upgrade for mysql version, we are still in version 8.0.31 of mysql but this issue affects us as well? and I can't see the release of 8.0.32 version in aws RDS as well. latest release was 8.0.31 that was on 10 Nov 2022.
Same issue with the latest mysqldump from MariaDB repo: $ mysqldump --version mysqldump Ver 10.19 Distrib 10.3.37-MariaDB, for debian-linux-gnu (x86_64)