github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-02-05 09:56 pm

[dreamwidth/dreamwidth] ba0d37: Fix DBD::mysql binary data corruption on Ubuntu 22.04

Branch: refs/heads/main Home: https://github.com/dreamwidth/dreamwidth Commit: ba0d37394abf33d74665d3583cbf76bf7230e566 https://github.com/dreamwidth/dreamwidth/commit/ba0d37394abf33d74665d3583cbf76bf7230e566 Author: Mark Smith mark@dreamwidth.org Date: 2026-02-05 (Thu, 05 Feb 2026)

Changed paths: M bin/ecs-shell M cgi-bin/DBI/Role.pm

Log Message:


Fix DBD::mysql binary data corruption on Ubuntu 22.04

  • DBI/Role.pm: Add mysql_enable_utf8 => 0 to preserve binary gzip data stored in TEXT columns. DBD::mysql 4.050+ on Ubuntu 22.04 auto-enables UTF-8 handling, which corrupts compressed data. This option is safe on older versions where it was already the default.

  • bin/ecs-shell: Prefer 'web' container over 'cloudwatch-agent' sidecar when connecting to ECS tasks. Fixes "no such file or directory" error for /bin/bash since the cloudwatch-agent container uses a minimal image.

Co-Authored-By: Claude Opus 4.5 noreply@anthropic.com

To unsubscribe from these emails, change your notification settings at https://github.com/dreamwidth/dreamwidth/settings/notifications