Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Observed failure at this point #6

Open
nitinthewiz opened this issue Dec 26, 2018 · 0 comments
Open

Observed failure at this point #6

nitinthewiz opened this issue Dec 26, 2018 · 0 comments

Comments

@nitinthewiz
Copy link

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! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant