Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
How to export/import some data from database table using mysql commands
I’m trying to switch servers for a WordPress site, and I’m starting clean so, I’m only transferring the essential tables to the new db, and the I’m reconfiguring everything again manually.
The only issue is that I’m using the TablePress plugin which stores its data in the
wp_postmeta tables, and the settings in the
So, I already the restored the posts using the wpposts and wppostmeta, the entries from TablePress plugins are already in the database, but the content doesn’t show up in TablePress, because the index and options are located in the
The plugin developers has said to export the
tablepress_options entries from the
wp_options table. However, I don’t know the syntax to export and import the entries from a tablet, in this case from the wpoptions table in mysql without using phpmyadmin.
How to export only `tablepresstables
contents from inside thewpoptions` table inside a “wordpress” database using command line on mysql 5.7? and then imported into the new database?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×