Skip to content

Dump the character set as specified for the connection #101

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

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

mpdude
Copy link
Member

@mpdude mpdude commented Aug 14, 2023

Since the utf8 value has been deprecated in MySQL, it is advisable to append ?charset=utf8mb4 to DSNs.

This change makes sure the selected character set is also written to the SQL output, since it determines the encoding in which data was received by slimdump.

@mpdude mpdude merged commit 0abfaaa into master Aug 14, 2023
@mpdude mpdude deleted the dynamic-charset branch August 14, 2023 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant