我可以从wordpress数据库中删除现有的数据库表吗?
问题:
当我打开website.com/wp-admin
时。
此错误消息正在显示
One or more database tables are unavailable. The database may need to be repaired.
当我打开我的网站时,会显示此错误消息。
Error establishing a database connection
我的用户名,密码和主机名都是正确的。
问题: 如何删除现有表格并安装新的wordpress。
注意我无法访问托管服务器。我只是wordpress管理员访问权限。并拥有数据库用户名和密码。
如果我点击维修。
出现这些线条。这些是11个表,但wordpress有13个表。
The wp_users table is okay.
The wp_usermeta table is okay.
The wp_posts table is okay.
The wp_comments table is okay.
The wp_links table is okay.
The wp_options table is okay.
The wp_postmeta table is okay.
The wp_terms table is okay.
The wp_term_taxonomy table is okay.
The wp_term_relationships table is okay.
The wp_commentmeta table is okay.
Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.
define('WP_ALLOW_REPAIR', true);
答案 0 :(得分:1)
是的,您可以使用此插件SQL Executioner来实现这一目标。
激活插件后,只需转到管理面板中的“工具”菜单,在那里你可以找到它,运行你想要的查询!
答案 1 :(得分:0)
I think you are not required to delete the tables, all you need is to repair your existing tables.
For that please go to your server database:
1>>Check all the tables, and choose the "repair table" option from the drop down list.
2>> Hit the go button, that's it!!
Hope that will help
答案 2 :(得分:0)
您无法从wordpress管理面板访问数据库。