通过 phpMyAdmin 导出整个表结构,但仅导出某些表中的数据

发布于 2024-09-28 21:27:58 字数 121 浏览 0 评论 0原文

我可以访问 phpMyAdmin,但不能访问 MySQL 命令行。

我需要在其他地方重新创建表结构以及需要“预填充”的某些表。我当然可以导出空表结构,然后将表逐个导出,但是有没有更好的方法将一堆表数据一起导出呢?

I have access to phpMyAdmin, but NOT the MySQL command line.

I need to recreate the table structure elsewhere along with certain tables that need to be 'pre-populated'. I can, of course, export the empty table structure and then export the tables one-by-one, but is there a better way to export a bunch of table data together?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

向日葵 2024-10-05 21:27:58

如果单击左上角的数据库名称,然后单击导出选项卡,您可以在左侧选择要导出的表。您仍将执行两次导出,第一次导出所有结构,然后第二次导出仅包含您需要的表的数据。

If you click on the database name at the top left and then click the Export tab you can select which tables you want to export at the left. You will still do 2 exports, first for all the structures, and then a second one for the data with only the tables that you need.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文