无法在本地服务器上设置现有的Drupal网站

发布于 2025-02-05 21:10:18 字数 380 浏览 3 评论 0 原文

导入的数据库,将Drupal站点文件复制到WAMP/www文件夹,更改了数据库配置文件,但“ Drupal已经安装了”错误。

通过增加MySQL配置文件上的数据包大小来尝试。当通过安装的设置步骤中尝试使用空数据库时,请尝试。是否有任何解决方案可以使用现有数据库

Drupal版本:8.9.20 PHP:7.4.26 Apache:2.4.51 mySQL:5.7.36

“在此处输入图像描述”

imported database, copied drupal site files to wamp/www folder, changed database configuration files, but got "Drupal already installed" error.

Tried by increasing packet size on mysql configuration file.While trying with an empty database , through the setup steps, site being installed. Is there any solution to use the existing database

Drupal version:8.9.20
Php: 7.4.26
apache: 2.4.51
mysql:5.7.36

enter image description here

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

无敌元气妹 2025-02-12 21:10:18

此消息可能出于多种原因发生,因此这是一个开始,可以帮助您进行麻烦拍摄:

mysql max_lower_packet,innodb_buffer_pool_size,innodb_lock_wait_timeout

  • 此信息以验证您在 my.ini
  • 添加 更新 innodb_buffer_pool_size & innodb_lock_wait_timeout 设置以及
  • 更新后

验证权限 settings.local.php & mysql db用户

  • 确保您的/stites/default/文件夹上的文件权限正确,并且 settings.local.php file> file> file(或您正在使用的设置文件
  • )确保您在设置文件中配置的DB用户具有正确的数据库的权限,并

检查日志文件

  • 检查WAMP日志文件夹中的所有日志文件

This message can happen for several different reasons, so here is a start to help you trouble shoot:

MySQL max_allowed_packet, innodb_buffer_pool_size, innodb_lock_wait_timeout

  • Adding this to verify that this is the packet setting you updated in my.ini
  • Try updating the innodb_buffer_pool_size & innodb_lock_wait_timeout settings as well
  • Be sure to restart MySQL after the update is made
  • drupal.org source

Verify Permissions settings.local.php & MySQL DB user

  • Make sure the file permissions on your /sites/default/ folder is correct, and settings.local.php file (or whichever settings file you are using)
  • Make sure the DB user you have configured in the settings file has the correct permissions to the DB as well

Check log files

  • Check all log files in your WAMP log folder to see if there is any additional information
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文