xampp #1932 - Table 'phpmyadmin.pma__tracking' doesn't exist in engine - mysql

i tried to open my local Xampp to work on some projects, but when i go on Phpmyadmin and try to access to any database i retrieve the error message in the object.
I have to backup some db in every way because they are very important.
I tried to delete the pma_bookmark.frm and .ibd and then create again creates_table.sql but it doesn't solve my problem.
How can i solve this issue, but more, how can i save my databases and reload them on another installation or in another server ?

Related

phpmyadmin shows tables in the sidebar but tables don't exist

I re-installed wampserver 2.5 (with same stuff/settings - nothing changed) and after installation my database got corrupted. Few database tables exist and many of them are not accessible. On right frame it shows No tables found in database.
Even the sidebar of phpmyadmin shows my database table
but when I try to open any table it says:
To confirm whether tables exists in database, I go to
C:\wamp\bin\mysql\mysql5.6.17\data\db_blog
where I can see a long list of stuff. My tables are listed in 2 different formats frm and idb.
How can I repair my database? Please help me.
Before reinstalling wamp you should have done backup of database and after reinstall bring database back from backup. If after reinstall of wamp database is still available but seems to be corrupted then there you did something wrong with wamp reinstall as database should be purged or not touched, nothing in between. Now everything depends on what you want to achieve: you can purge databases simply using phpmyadmin or try to somehow restore database but it is possible only if you have backup of database, otherwise data is corrupted and can't be restored. You may try to repair database by following this article but do not expect miracles:
https://www.a2hosting.com/kb/cpanel/cpanel-database-features/optimizing-and-repairing-mysql-databases-with-phpmyadmin

MySQL DB error in displaying table

I have a problem when I backup my database from old server to the new one. Both run Ubuntu. The difference is the old database is using phpmyadmin 1.6.3 and the new one is 5.7.21. I lost some tables but it appear in the sidebar. Can anyone describe to me what is going on with my db? Here is the screenshot.
to be clear, here is the screenshot of my old database phpmyadmin interface.
You may try stop and start the mysqld service.
If the error still exists then back up the database file and drop it then import again to a newly created database.
**commands may be OS specific
follow instructions from : MySQL Site

Can't delete tables in phpMyAdmin because they aren't visible in the structure

I've a local development environment with MAMP.
In this environment I'm using MySQL in version 5.6.35.
When I now want to import a database with phpMyAdmin, I get an internal server error everytime I try.
After some research I think there is a problem with the structure of the mysql database.
In the logs I found the following error:
InnoDB: Error: Table "mysql"."innodb_table_stats" not found.
And an hint to this page: https://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html
There is also a link to a solution:
mysql error: Table "mysql"."innodb_table_stats" not found
My problem is, that I can't remove the tables (innodb_index_stats, innodb_table_stats, slave_master_info, slave_relay_log_info, slave_worker_info) from mysql.
They show up in the sidebar but not in the structure itself.
And if I click on them, I get more errors:
What I could do and already did is to remove the .frm & .ibd files of the tables above. But this had no effect.
Is there a way to repair or replace the mysql db?
I also tried the replair and update tools from MAMP. Without success.
I could solve the problem after I also deleted the .ibd files in the folder: /Library/Application Support/appsolute/MAMP PRO/db/mysql56

Recovering MySql Database after uninstalling WAMP?

I uninstalled WAMP on Win7. It removed everything but kept the data folder containing my database. After installing WAMP again on same directory, I thought it will recover MySQL database but it didn't.
It does show me my database and when I expand it in phpMyAdmin, I can see the tables but when I try to query them, it says, #1146 - Table 'tablename' doesn't exist
I searched and found a couple of posts. This post is close enough but it is for Linux and not exactly my case.
Any help will be appreciated.
UPDATE 1:
I tried repeating the steps mentioned here
Stopped MySQL service,
Renamed old database directory,
Started MySQL service,
Created new database with same name, and replaced all database files on it
Still got the same error.
UPDATE 2:
I tried repeating the steps mentioned here as well
Still getting the same error.
UPDATE 3:
Examining .err file revealed the below error:
[Warning] InnoDB: Cannot open table testdb/rules from the internal data dictionary of InnoDB though the .frm file for the table exists.
UPDATE 4:
CHECK TABLEtablename; resulted in following errors
Warning InnoDB: Tablespace is missing for table 'db/tablename'
Error Table 'db.tablename' doesn't exist
status Operation failed
Why don't you uninstall and then reinstall WAMP with backup datafiles in data directory. sometimes it solves problem.
I suggest you to always export your DB before doing any serious modifications.
Here is a thread for how to recover data This may be helpful to you

Error phpmyadmin pma__tracking and others does not exist

I recently downloaded XAMPP on my Mac, running Yosemite. Once installed, I tried to use phpmyadmin. I was able to create a database and in the SQL tab create a Table for the database using the "CREATE TABLE ..." query, but I cannot view that database or any of the databases that came loaded with the program. Anytime I click on the database name on the left hand side, I get an error saying that
"#1932 - Table pma__tracking does not exist in engine"
This error also occurs when I try to run "select * ..." queries from the SQL tab.
I have tried altering the config.inc.php file as suggested in other posts, and this did not work. I tried importing the create_tables.sql from the example folder and it gives the same error.
I am able to write .php scripts to query the database created and to add/retrieve data from it, but I cannot do any of this through the phpmyadmin tool, which would be very helpful, and I think might cause more problems later in my development.
Any thoughts on how to configure/set up phpmyadmin to work as its supposed to?
Thanks in advance.
You have to do both: use the .sql script to create these configuration storage tables, and specify their name in config.inc.php. Afterwards, log out and log in to see the effect.