Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/55.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 如何删除wordpress数据库中的现有表_Php_Mysql_Database_Wordpress - Fatal编程技术网

Php 如何删除wordpress数据库中的现有表

Php 如何删除wordpress数据库中的现有表,php,mysql,database,wordpress,Php,Mysql,Database,Wordpress,我可以从wordpress数据库中删除现有的数据库表吗 问题: 当我打开website.com/wp admin时。 正在显示此错误消息 One or more database tables are unavailable. The database may need to be repaired. 当我打开我的网站时,会显示此错误消息 Error establishing a database connection 我的用户名、密码和主机名是正确的 问题: 如何删除现有表并安装新的wor

我可以从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个表。


是的,你可以通过使用这个插件来实现


激活插件后,只需进入管理面板中的“工具”菜单,在那里你可以找到,运行你想要的查询

是的,您可以通过使用此插件实现这一点


激活插件后,只需进入管理面板中的“工具”菜单,在那里你可以找到,运行你想要的查询

您不能从wordpress管理面板访问数据库。

您不能从wordpress管理面板访问数据库。

我没有访问服务器,我只有wordpress管理权限我没有访问服务器,我只有wordpress管理权限
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);
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