4

windows 7 - xampp

I have a database with 14 tables. I worked this days with all of them without problems untill this morning.

All tables are ok except table posts. When I click on it's name (left menu in phpMyAdmin) I got a message:

#1932... posts doesnt exist in engine

On stackoverflow there are six posts with simmilar title, but there is no solution for me.

For example this is about a system table phpmyadmin.pma and on ubuntu. I'm on windows and table posts is a user table.

Any help?

3
  • 1
    Possible duplicate of phpMyAdmin error: Table doesn't exist in engine Commented Jul 4, 2017 at 5:11
  • @cwallenpoole, no, it's not duplicated. windows vs ubuntu, system table vs user table. I cannot take ubuntu solution. Commented Jul 4, 2017 at 5:17
  • There seem to be quite a few answers to very similar questions. Have you tried all of them? Then why isn't that information in your post? Commented Jul 4, 2017 at 12:23

2 Answers 2

5

This worked for me when I was not able to repair the table

ALTER TABLE Tablename DISCARD TABLESPACE; ALTER TABLE Tablename IMPORT TABLESPACE;

Sign up to request clarification or add additional context in comments.

4 Comments

What if i have many tables that need the same procedure . Is there any way doing this or i have to execute the above queries for each table ?
Honestly I havnt done it before but a quick google search took me to this dba.stackexchange.com/questions/93507/… If the tables are less you can do the answer above otherwise can try the shared link, Let me know how it goes.
Hope it helps .
When I run that script, I get another error: #1030 - Got error 194 "Tablespace is missing for a table" from storage engine InnoDB
1

I got it working with some changes in xampp/phpmyadmin/config.inc.php:

Add a $i=1 after /* server parameters */

/* Server parameters */

$i = 1

AND fix tablespaces of phpMyAdmin as written in https://stackoverflow.com/a/11506495/2364405

2 Comments

there is no /* Server parameters */ line in my config.inc.php. Search in notepad++.
If you dont have "Server parameters" then you must have "Servers configuration"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.