gpt4 book ai didi

mysql - 使用 phpMyAdmin 导出数据库

转载 作者:行者123 更新时间:2023-11-29 12:06:54 31 4
gpt4 key购买 nike

我正在尝试从第三方托管切换到内部托管。我拥有所有网站,但只有一个已转移。我遇到的最后一个问题涉及一些插件。我向插件程序员询问新的下载,并被告知我必须导出数据库。

我的问题是:有没有办法导出数据库的每个概念,包括列标题。我想要导出整个数据库,因此当我将其导入 SQL Server 时,我无需执行任何操作,只需进入 WordPress 导入其设置即可。

最佳答案

如果您已经有权访问当前数据库phpMyAdmin

  1. 登录
  2. 从左侧菜单中选择所需的数据库
  3. 您应该在右侧面板中看到一个导出选项卡,点击它
  4. 导出方法中,您可以将其保留为快速
  5. 将其导出为SQL
  6. GO(提交按钮)

If you happen to have any problem downloading the export, try using the custom method and selecting one compression (gzipped for example) method.

然后,导入数据库是新数据库的逆过程。

  1. 登录到您的新数据库 phpMyAdmin
  2. 选择您新创建的数据库
  3. 点击导入标签
  4. 选择要上传的文件

Make sure your new database is EMPTY if you want to migrate ALL THE TABLES. If you want to just migrate a few tables, you can select them in the custom method and then import only those.

Make sure you are running the same Wordpress files with your DB data, or you may experience many inconsistencies.

关于mysql - 使用 phpMyAdmin 导出数据库,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31324948/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com