沃梦达 / 编程问答 / php问题 / 正文

PDOException: SQLSTATE[42S02]

PDOException: SQLSTATE[42S02](PDOException: SQLSTATE[42S02])

本文介绍了PDOException: SQLSTATE[42S02]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行网络矩阵并运行它时,我在成功安装后刚刚通过微软网络平台安装程序安装了 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

推荐答案

解决方案很简单,只要访问您网站上的 install.php 就可以正常安装了.有时安装程序不会自动重定向到 install.php 而是访问站点的根目录.发生异常是因为 Drupal 查找数据库表并且它们不存在,install.php 没有运行.这里有一个讨论:

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

这篇关于PDOException: SQLSTATE[42S02]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:PDOException: SQLSTATE[42S02]

基础教程推荐