我是PHP和MySQL的新手。我正在尝试安装http://sourceforge.net/projects/candidats/
php软件。在安装过程中安装或加载数据到数据库时,我得到以下错误。有些人可以帮我正确指导吗?
PDOException Object ( [message:protected] => SQLSTATE[42000]: Syntax error or access violation:
1064 You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near ‘IGNORE TABLE email_history ADD COLUMN for_module varchar(255)
default NULL’ at line 1 [string:Exception:private] => [code:protected] => 42000 [file:protected] => C:\inetpub\wwwroot\Cats\lib\ClsNaanalPDO.php
[line:protected] => 124 [trace:Exception:private] => Array ( [0] => Array ( [file] =>
C:\inetpub\wwwroot\Cats\lib\ClsNaanalPDO.php [line] => 124 [function] => execute [class] =>
PDOStatement [type] => -> [args] => Array ( ) ) [1] => Array (
[file] => C:\inetpub\wwwroot\Cats\lib\ClsNaanalPDO.php [line] =>
555 [function] => query [class] => ClsNaanalPDO [type] =>
-> [args] => Array ( [0] => ALTER IGNORE TABLE email_history ADD COLUMN for_module
varchar(255) default NULL ) ) [2] => Array ( [file] =>
C:\inetpub\wwwroot\\Cats\lib\DatabaseConnectionPDO.php
[line] => 149 [function] => setQuery [class] => ClsNaanalPDO
[type] => -> [args] => Array ( [0] => ALTER IGNORE TABLE
email_history ADD COLUMN for_module varchar(255) default NULL ) )
[3] => Array ( [file] => C:\inetpub\wwwroot\Cats\modules\install\ajax\ui.php [line] => 1172
[function] => query [class] => DatabaseConnection [type] => ->
[args] => Array ( [0] => ALTER IGNORE TABLE email_history
ADD COLUMN for_module varchar(255) default NULL ) ) [4] => Array ( [file] =>