PDO异常:SQLSTATE[42S02]

发布于 2024-12-01 18:59:07 字数 173 浏览 0 评论 0原文

当我运行 Web 矩阵并运行它时,成功安装后,我刚刚通过 Microsoft Web 平台安装程序安装了 Drupal 7。它向我显示了这个错误,我是 drupal 的新手,所以不知道这个错误是什么以及如何解决它 在此处输入图像描述

I have just install Drupal 7 through microsoft web platform installer after successful installation when i run web matrix and run it. It show me this error I am new to drupal so have no clue what is this error and how to solve it
enter image description here

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

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

发布评论

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

评论(2

旧情勿念 2024-12-08 18:59:07

这是一个简单的问题,只需访问您网站上的 install.php 即可正常安装。有时,安装程​​序不会自动重定向到 install.php,而是访问站点的根目录。发生异常是因为 Drupal 查找数据库表但它们不存在,install.php 尚未运行。这里有一个讨论:

http://groups.drupal.org/node/121629#comment- 395209

It's a simple problem to solve, just visit install.php on your website and you should be able to install as normal. Sometimes the installer doesn't automatically redirect to install.php and instead visits the root of the site. The exception happens because Drupal looks for the database tables and they don't exist, install.php not having been run. There's a discussion here:

http://groups.drupal.org/node/121629#comment-395209

随梦而飞# 2024-12-08 18:59:07

如何解决此问题

Go to xampp\mysql\bin
Open my.ini
Change "max_allowed_packet" from "1m" to "16m"
Save my.ini
Now restart MySql through the XAMPP control panel.

在此处找到了此解决方案。 http://minorpoint.blogspot.com/2007/09 /mysql-server-has-gone-away.html

How to fix this problem

Go to xampp\mysql\bin
Open my.ini
Change "max_allowed_packet" from "1m" to "16m"
Save my.ini
Now restart MySql through the XAMPP control panel.

Found this solution here. http://minorpoint.blogspot.com/2007/09/mysql-server-has-gone-away.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文