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
Post a Comment