Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a readonly connection to create the dump #121

Merged
merged 1 commit into from
Mar 5, 2024
Merged

Conversation

guvra
Copy link
Collaborator

@guvra guvra commented Mar 5, 2024

This PR adds the following query to the init_commands array passed to mysqldump-php:
SET SESSION TRANSACTION READ ONLY

@guvra guvra requested a review from rbayet March 5, 2024 10:57
@guvra guvra self-assigned this Mar 5, 2024
@guvra guvra added the feature New feature or request label Mar 5, 2024
Copy link
Contributor

@staabm staabm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice

@guvra guvra merged commit aa034ae into main Mar 5, 2024
3 checks passed
@guvra guvra deleted the feat-readonly-connection branch March 5, 2024 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants