Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
All solutions
    • All solutions for Managed MySQL
    • Managed Service for MySQL cluster switches to Read Only due to free space getting quickly consumed by temporary files
    • Error saving an SQL dump of a database from a Managed Service for MySQL cluster using mysqldump

In this article:

  • Issue description
  • Solution
  1. Managed MySQL
  2. Error saving an SQL dump of a database from a Managed Service for MySQL cluster using mysqldump

Error saving an SQL dump of a database from a Managed Service for MySQL cluster using mysqldump

Written by
Yandex Cloud
Updated at September 12, 2023
  • Issue description
  • Solution

Issue descriptionIssue description

When you try to save a dump using a mysqldump, you get the error:

mysqldump: Couldn't execute 'FLUSH TABLES': Access denied;
you need (at least one of) the RELOAD or FLUSH_TABLES privilege(s) for this operation (1227)

SolutionSolution

Some mysqldump releases, starting from version 8.0.32, have a developer-confirmed bug: the --single-transaction option uses the FLUSH TABLES WITH READ LOCK command, even if you omit the --flush-logs or --source-data keys in the utility startup options.

To fix this error, update the mysqldump utility to version 8.0.33 (or higher).

Was the article helpful?

Previous
Managed Service for MySQL cluster switches to Read Only due to free space getting quickly consumed by temporary files
Next
All solutions for Managed PostgreSQL
Yandex project
© 2025 Yandex.Cloud LLC