Fix mysqlbinlog command missing for docker containers

Sometimes we want to use the MySQL docker container to test some binlog-related features, but unfortunately, the default tag of the official docker image doesn’t contain the binlog utilities, please refer to and

What shall we do about this case?

For testing, it’s pretty straightforward: just use the Debian-based images

for example previously used an image that doesn’t contain the binlog tools: mysql:5.7.39, then we switch to using mysql:5.7.39-debian, the mysqlbinlog will appear after we do the switch.


您的电子邮箱地址不会被公开。 必填项已用*标注