【发布时间】:2017-01-11 08:56:02
【问题描述】:
我在系统更新后启动 MySQL 数据库 (XAMPP) 时遇到问题 - OSX。
最后,我再次安装了 XAMPP。 MySQL 现在正在工作,但是在使用页面启动 localhost/wordpress 后,WordPress 正在午餐安装页面...
当我输入标题和电子邮件时,我有数据库问题列表:
[Table 'wp_users' already exists]
[Table 'wp_usermeta' already exists]
[Table 'wp_termmeta' already exists]
[Table 'wp_terms' already exists]
[Table 'wp_term_taxonomy' already exists]
[Table 'wp_term_relationships' already exists]
[Table 'wp_commentmeta' already exists]
[Table 'wp_comments' already exists]
[Table 'wp_links' already exists]
[Table 'wp_options' already exists]
[Table 'wp_postmeta' already exists]
[Table 'wp_posts' already exists]
About 200 issues: [Table 'wordpress.wp_options' doesn't exist in engine].
之后我得到“成功!登录...”和错误 404。
我有来自我的网站和数据库的文件 (wordpress)。 phpMyAdmin 运行良好。
有什么方法可以在 localhost 上再次打开我的网站吗?还是在最坏的情况下尽可能恢复?
更新:
当我在任何数据库上单击 phpMyAdmin 时,我有一个“#1932 - 表 wp_... 在引擎上不存在”。我可以恢复内容吗?
【问题讨论】:
-
如果您有可以导入的数据库备份(.sql 文件),我建议您删除数据库并从备份文件中恢复它。检查你的mysql错误日志,其他数据库也可能损坏。
-
感谢您的建议。我所有的数据库都损坏了...下次我将通过复制器导出备份和整个网站。
-
如果您愿意,我已将我的评论添加为您接受的答案。