Skip Navigation

[Resolved] External tables

This thread is resolved. Here is a description of the problem and solution.

Problem:
The user would like to manage the data stored in external MySQL tables, create forms, views, and export data.

Solution:
Toolset uses the default database tables to store custom posts types posts and custom taxonomies terms:
- wp_postmeta
- wp_posts
- wp_terms
- wp_termmeta
- wp_term_relationships
- wp_term_taxonomy
https://codex.wordpress.org/Database_Description

Toolset Types is not designed to use custom tables that have custom schemas than WordPress tables.

If you would be using the same WordPress schema but separating custom post types and taxonomies to other tables, you can look at a 3rd party plugin, at your own risk, such as https://github.com/gschoppe/WP-Isolation

Custom post types are stored as posts and they can be exported with any plugin/code that aims to export WordPress content. We have some articles about 3rd party plugins for import/export:
- The Pro version of the WordPress Ultimate CSV Importer plugin
- The CSV Importer plugin
- WP All Import Pro and WP All Import – Toolset Types Add-On plugins
Here:
- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/how-to-import-data-from-a-csv-file-using-the-wp-all-import-toolset-types-add-on-plugin/
- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/

And a technical article on how Toolset stores data and relationships:
- https://toolset.com/documentation/user-guides/export-import/importing-content-from-csv-with-post-relationships/

Relevant Documentation:
- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/how-to-import-data-from-a-csv-file-using-the-wp-all-import-toolset-types-add-on-plugin/

- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/

- https://toolset.com/documentation/user-guides/export-import/importing-content-from-csv-with-post-relationships/

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 5 replies, has 3 voices.

Last updated by Jamal 4 years, 4 months ago.

Assisted by: Jamal.

Author
Posts
#1572189

Tell us what you are trying to do?

Manage the data stored in external mysql tables.
Create forms, view and export data.

Is this still impossible?

Regards,
Mansario

#1572369

Hello Mansario and thank you for contacting the Toolset support.

Toolset uses the default database tables to store custom posts types posts and custom taxonomies terms:
- wp_postmeta
- wp_posts
- wp_terms
- wp_termmeta
- wp_term_relationships
- wp_term_taxonomy
https://codex.wordpress.org/Database_Description

Toolset Types is not designed to use custom tables that have custom schemas than WordPress tables.

If you would be using the same WordPress schema but separating custom post types and taxonomies to other tables, you can look at a 3rd party plugin, at your own risk, such as hidden link

I hope this helps. Let me know if you have any questions.

#1572423

Hello Jamal, and thank you for your reply.

What about export ?
If I decide to use the WordPress custom posts types, will a user be able to export the data in an understable format ? CSV for example

Regards

#1572515

Custom post types are stored as posts and they can be exported with any plugin/code that aims to export WordPress content. We have some articles about 3rd party plugins for import/export:
- The Pro version of the WordPress Ultimate CSV Importer plugin
- The CSV Importer plugin
- WP All Import Pro and WP All Import – Toolset Types Add-On plugins
Here:
- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/how-to-import-data-from-a-csv-file-using-the-wp-all-import-toolset-types-add-on-plugin/
- https://toolset.com/documentation/user-guides/export-import/how-to-import-content-into-wordpress-using-csv/

And a technical article on how Toolset stores data and relationships:
- https://toolset.com/documentation/user-guides/export-import/importing-content-from-csv-with-post-relationships/

I hope this answers your question! Let me know if you still need anything.

#1709817

Hi Jamal,

May I know which plugins is this?

#1709849

Hello @ansonH

Please open a new ticket and elaborate more on your question, we'll do our best to help.

Best regards,
Jamal