Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
All solutions
    • All solutions for Managed Service for MySQL®
    • Managed Service for MySQL® cluster switches to `Read Only` due to free space getting quickly consumed by temporary files
    • Resolving the `Access denied` error when saving an SQL dump of a database from a Managed Service for MySQL® cluster using `mysqldump`

In this article:

  • Issue description
  • Solution
  1. Managed Service for MySQL®
  2. Resolving the `Access denied` error when saving an SQL dump of a database from a Managed Service for MySQL® cluster using `mysqldump`

Resolving the Access denied error when saving an SQL dump of a database from a Managed Service for MySQL® cluster using mysqldump

Written by
Yandex Cloud
Updated at December 17, 2025
  • Issue description
  • Solution

Issue descriptionIssue description

When trying to save a dump using mysqldump, you get this 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 do not specify the --flush-logs or --source-data keys in the utility startup options.

To fix this error, update your mysqldump 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 Service for PostgreSQL
© 2026 Direct Cursus Technology L.L.C.