Reputation: 439
When using phpmyadmin I can't display the table wp_postmeta
.
No matter if I click on the table on the sidebar or do a manual query, phpmyadmin automatically adds inner join `wp_posts` onpost_id=`wp_posts`.id
and returns the following error:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner join
wp_posts
onpost_id=wp_posts
.id
LIMIT 0, 25' at line 1
It only does this on this specific table.
How do I prevent phpmyadmin from doing this and where could it came from?
Upvotes: 0
Views: 1224
Reputation: 1619
Mysql is a php application and as every application may have some problems or bugs, which query you have tested to retrieve the data? this?
SELECT * FROM wp_postmeta
Maybe your wp_postmeta table is corrupted, you can try to fix it with phpmyadmin function, but before doing this be sure to do a full database backup
Here you can find where you can repair the table: https://www.siteground.com/tutorials/phpmyadmin/repair-optimize-database/
Upvotes: 2