OS Manuals

/usr/bin/myisamlog

The MySQL open source relational database

From mysql-9.7 9.7.4-r4 (enterprise-packages), captured 2026-11-08 by running myisamlog -? (exit 0). permalink

/usr/bin/myisamlog  Ver 9.7.4 for Linux on x86_64 (Source distribution)
Copyright (c) 2000, 2026, Oracle and/or its affiliates.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Write info about whats in a MyISAM log file.
If no file name is given myisam.log is used

Usage: /usr/bin/myisamlog [-?iruvDIV] [-c #] [-f #] [-F filepath/] [-o #] [-R file recordpos] [-w write_file] [log-filename [table ...]]

Options: -? or -I "Info"     -V "version"   -c "do only # commands"
         -f "max open files" -F "filepath"  -i "extra info"
         -o "offset"         -p # "remove # components from path"
         -r "recover"        -R "file recordposition"
         -u "update"         -v "verbose"   -w "write file"
         -D "myisam compiled with DBUG"   -P "processes"

One can give a second and a third '-v' for more verbose.
Normaly one does a update (-u).
If a recover is done all writes and all possibly updates and deletes is done
and errors are only counted.
If one gives table names as arguments only these tables will be updated
Options (5)
OptionDescriptionSource
-f "max-i "extra info"help
-o "offset"-p # "remove # components from path"help
-r "recover"-R "file recordposition"help
-u "update"-v "verbose" -w "write file"help
-D "myisam-P "processes"help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.