PDO异常:SQLSTATE[42S02]
当我运行 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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这是一个简单的问题,只需访问您网站上的 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
如何解决此问题
在此处找到了此解决方案。 http://minorpoint.blogspot.com/2007/09 /mysql-server-has-gone-away.html
How to fix this problem
Found this solution here. http://minorpoint.blogspot.com/2007/09/mysql-server-has-gone-away.html