错误后重新安装drupal

reinstalling drupal after error

出现此错误后,我正在尝试重新安装 drupal:

Fatal error: Maximum execution time of 120 seconds exceeded in C:\wamp64\www\drupal\core\lib\Drupal\Core\PageCache\RequestPolicy\NoSessionOpen.php on line 3

为了解决这个错误,我 set max_execution_time = 300 我从 wamp64\www 中删除了 drupal 文件夹,然后再次粘贴了另一个 drupal 文件夹副本。当我尝试重新安装 drupal 时,我收到消息,

Drupal already installed
To start over, you must empty your existing database and copy default.settings.php over settings.php.
To upgrade an existing installation, proceed to the update script.
View your existing site.

但我在安装 drupal 时还没有完成 Install siteconfigure site 的步骤。

当我点击现有网站时,页面要求输入用户名和密码。我没有为它设置用户名和密码。如何解决这个问题呢?请帮忙。

我知道你已经解决了你的问题,但对于其他偶然发现这个问题的人来说。

方案一(推荐):使用Drupal的命令行工具drush。 "drush sql-drop" 将删除所有数据库表,启动安装程序。

选项 2:更改 settings.php 文件中的数据库信息 (webroot/sites/default/settings.php)。我不建议删除该文件,因为安装程序需要 settings.php