zhenghao li
zhenghao li

Reputation: 57

can not find mysqlbinlog command in docker?

  1. run mysql docker run -d --name=mysql-server -p 3306:3306 -e MYSQL_ROOT_PASSWORD=t123456 mysql:8.0.30
  2. find command: find / -name mysqlbinlog,it only return one line:
sh-4.4# find / -name mysqlbinlog
find: '/proc/1/map_files': Permission denied

and run mysqlbinlog commmand failed:

sh-4.4# mysqlbinlog
sh: mysqlbinlog: command not found

--update--

i change version from 8.0.30 to 8.0.23 according to can't find mysqlbinlog in docker container [mysql/mysql-server:8.0.23] , and the command can be found , why is it missed in newer version?

Upvotes: 1

Views: 923

Answers (1)

Shamith Wimukthi
Shamith Wimukthi

Reputation: 525

Available in latest debian version

  8.0.30-debian

Upvotes: 1

Related Questions