Bug? #1146 - Table 'xxx.xxxxx' doesn't exist

前端 未结 18 1727
春和景丽
春和景丽 2020-11-29 05:49

I am using windows XP. I am creating a table in phpMyAdmin using its built-in create table feature, my database name is ffffd.

It generates the following

18条回答
  •  -上瘾入骨i
    2020-11-29 06:24

    As pprakash mentions above, copying the table.frm files AND the ibdata1 file was what worked for me.

    In short:

    1. Shut your DB explorer client (e.g. Workbench).
    2. Stop the MySQL service (Windows host).
    3. Make a safe copy of virtually everything!
    4. Save a copy of the table file(s) (eg mytable.frm) to the schema data folder (e.g. MySQL Server/data/{yourschema}).
    5. Save a copy of the ibdata1 file to the data folder (i.e., MySQL Server/data).
    6. Restart the MySQL service.
    7. Check that the tables are now accessible, queryable, etc. in your DB explorer client.

    After that, all was well. (Don't forget to backup if you have success!)

提交回复
热议问题