PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, February 18, 2022

[FIXED] Can't view table in phpmyadmin

 February 18, 2022     mysql, phpmyadmin, wordpress     No comments   

Issue

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 joinwp_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?


Solution

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/



Answered By - red
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing