-
Notifications
You must be signed in to change notification settings - Fork 83
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
大佬,求问,感谢 #53
Comments
你先确认下2012_table.ibd 的文件大小,
|
感谢大佬回复!已尝试,加上 |
这么神奇, 麻烦提供下如下信息呢:
|
感谢大佬!我等会吃个饭b站私聊你吧大佬,多有打扰! |
大佬,b站私信麻烦回我个1,不然没法发消息了 |
小弟是个新手,先前服务器上的mysql不明原因无法启动,试了很多办法无济于事,无奈只能重装。手头仅有数个.ibd文件想恢复数据表,在尝试'ALTER TABLE
table
DISCARD TABLESPACE'+‘ALTER TABLEtable
IMPORT TABLESPACE’这种方法报错失败后,通过google查到大佬的ibd2sql,想到可以提取表结构建空表,然后将ibd转成sql后重新插表恢复数据,遂尝试。试了一个ibd成功了提取了几十万条insert语句后,再试第二个ibd就不行了,python main.py 2012_table.ibd --sql > 2012_table.sql 不报错同时生成的.sql为0kb,不知是何原因?可以提取ddl,但是不能像第一个ibd那样提取到几十万条insert语句The text was updated successfully, but these errors were encountered: