Export/import specific data from MySQL
-
Hi everybody,
I am not that much familiar with mySQL, but maybe somebody can help me. Here is my problem:Question summary: I want to export the data of the field “director” and import it into a field called “new_director”.
Detailes:
I am working on a movie website that has (after a relaunch) the same type of information stored in two different places in the database and I want to bring both parts together. Therefore I must export some data and then import them.The two places are:
1) The older posts have information that is stored in the table wp_postmeta. As it is a movies website, there are metakeys like “director” and metavalues like “Stanley Kubrik” or “Steven Spielberg” That is the information I want to export.2) The newer posts have the information stored in another place: Since the relaunch the website uses “advanced custom fields” for these data. In ACF the metakey is called “new_director” and the metavalues are again the names of the directors (Kubrik…) . Here I want to import the data.
Does anybody know how to resolve that problem? That would be great!
Thanks
Raphael
- The topic ‘Export/import specific data from MySQL’ is closed to new replies.