This repository was archived by the owner on Mar 12, 2026. It is now read-only.
Releases: cloudposse-archives/mysql_fix_encoding
Releases · cloudposse-archives/mysql_fix_encoding
5.1
5.0
What
- Fix bug when fields that was in utf8 but belong to table in latin1 was converted
- Added option to switch between conver ways latin1 -> binary -> utf8 and latin1 -> utf8
- Provided way to specify mysql connection command (with MYSQL env var)
- Made silent mysql warning -
mysql: [Warning] Using a password on the command line interface can be insecure. - Made utf8 encoding as option (allow conversion to
utf8mb4for example)
Why
- Save time on running script. Prevent bugs related to convert utf8 to latin1.
- Sometimes latin1 -> binary -> utf8 corrupts data. To select what way is better - do experiments
mysql --defaults-file={my.cnf file}sometimes is not useful way to join mysql (for example when you need to do that with docker container). Now you can use MYSQL env var to specify command to connect mysql- When mysql connects with custom command (see above) we can get warning
mysql: [Warning] Using a password on the command line interface can be insecure.that breaks script output. We made it silent - Sometimes
utf8mb4is more effective thanutf8.
4.1
4.0: Add Support for Constraints / Update Docs (#4)
* Support constraints * Added simple readme * Update README.md * Update README.md