Skip to content
This repository was archived by the owner on Oct 29, 2023. It is now read-only.
This repository was archived by the owner on Oct 29, 2023. It is now read-only.

show_binlog expects different log files #157

@fjssilva

Description

@fjssilva

The script show_binlog expects the bin-log files to be named data/mysql-bin.[0-9]* however the default file names are data/binlog.[0-9]*.

Just run show_binlog in a sanbox. The output shows something like this:

ls: cannot access 'data/mysql-bin.[0-9]*': No such file or directory
No binlog found in (...)/data
# Usage: msb_8.0.31/show_binlog [BINLOG_PATTERN] 
# Where BINLOG_PATTERN is a number, or part of a number used after 'mysql-bin'
# (The default is '[0-9]*]')
# examples:
#          ./show_binlog 000001 | less 
#          ./show_binlog 000012 | vim - 
#          ./show_binlog  | grep -i 'CREATE TABLE'

The script should work out of the box without any options or changes.

Ran on:

  • OS: Ubuntu 20.04
  • dbdeployer 1.70.0
  • latest mysql server (8.0.31)

Metadata

Metadata

Assignees

Labels

adjustmentIt's a new feature or behavior change triggered by a MySQL bug, new feature, or policy.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions