MySQL delete selected rows from table -


ok bit stumped. horrible command line. have database table "wp_postmeta" has 2 million extra/empty entries. these got there malfunctioning plugin. using ssh access db , sql query not seem work. trying delete entries have meta_key value starts '_oembed'. here used:

delete * wp_postmeta meta_key  ('%_oembed%'); 

am missing something?

well seems lack of patience proceeds me... right after posted this, checked ssh , had executed query. took few minutes!


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -