简体   繁体   English

我删除了我的wp网站的数据库,wordpress要求重新安装

[英]I deleted database of my wp website and wordpress asks to be reinstalled

I deleted database and db user of my WP website. 我删除了WP网站的数据库和数据库用户。 My website stopped working. 我的网站停止工作。

I opened wpadmin.php and created database and user according to info in it. 我打开wpadmin.php并根据其中的信息创建了数据库和用户。

Now when I try to open my website it redirects to http://iiuischoolsryk.com/wp-admin/install.php 现在,当我尝试打开我的网站时,它会重定向到http://iiuischoolsryk.com/wp-admin/install.php

What should I do now? 我现在应该怎么办? Should I proceed to Installation? 我应该继续安装吗?

PS: PS:

  1. Although hosting provider is my best friend, he is not available to help 尽管托管服务提供商是我最好的朋友,但他无法提供帮助
  2. I have access to Cpanel, phpMYADMIN. 我可以访问Cpanel,phpMYADMIN。
  3. I have complete installation files of that particular wp theme. 我具有该特定wp主题的完整安装文件。

All your previous data, unless backed up, is totally gone. 除非备份,否则您以前的所有数据都将全部消失。 You'll have your theme and plugins still in their directories, but no pages, posts, etc. 您的主题和插件仍将保留在目录中,但没有页面,帖子等。

To get back to having a blank wordpress installation, do the following. 要恢复空白的wordpress安装,请执行以下操作。

  1. Create a new MySQL database, via phpMyAdmin if you like. 如果愿意,可以通过phpMyAdmin创建一个新的MySQL数据库。
  2. Create a new MySQL user, with password, and assign them permissions to the database created in step 1. 使用密码创建一个新的MySQL用户,并将其权限分配给在步骤1中创建的数据库。
  3. Now run the 5 minute WordPress install with the database name, user name, and passwordyou've just created. 现在,使用刚刚创建的数据库名称,用户名和密码运行5分钟的WordPress安装。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM