A parser for innodb file format
pyinnodb.sh is a tool for dump ddl and data from ibd file, which support mysql5.7 and mysql8.0+, require py3.8+
$ wget https://github.com/WinChua/pyinnodb/releases/latest/download/pyinnodb.sh
$ chmod a+x pyinnodb.sh
$ ./pyinnodb.sh --help
./pyinnodb.sh ${your_ibd_path} tosql --mode ddl
./pyinnodb.sh ${your_ibd_path} tosql --mode sql
./pyinnodb.sh ${your_ibd_path} search --primary-key 42
./pyinnodb.sh ${your_ibd_path} frm ${your_frm_path}