Skip to content

Observed failure at this point #6

@nitinthewiz

Description

@nitinthewiz

printf "Size of %s after shrinking: %s (%.1f%% of original; space recovered=%d bytes)\n" \

The entire script works perfectly, but I just shrunk my ibdata file from 5.5 GB to 550 MB and the script crapped out with this error -
Size of /var/lib/mysql/ibdata1 before shrinking: 5.5G
./shrink: line 344: "5761040"-"575492": syntax error: operand expected (error token is ""5761040"-"575492"")

Now that it matters! Excellent work on the script! 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions