3

我正在尝试使用 OpenX 2.8.10 AdServe 创建新的视频广告,但出现以下错误:

PEAR Error

MDB2 Error: syntax error
_doQuery: [Error message: Could not execute statement]
[Last executed query: CREATE TABLE banner_vast_element_seq (id INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)) TYPE=MYISAM]
[Native code: 1064]
[Native message: 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 'TYPE=MYISAM' at line 1]



PEAR Error

MDB2 Error: syntax error
[Error message: on demand sequence banner_vast_element could not be created]



PEAR Error

DB_DataObject Error: [mdb2_error: message="MDB2 Error: syntax error" code=-2 mode=callback callback=pearErrorHandler prefix="" info="[Error message: on demand sequence banner_vast_element could not be created] "] 

有什么解决办法吗?我如何知道错误发生在哪个 PHP 类中(当我更改TYPE=MyISAM为时它起作用ENGINE=MyISAM)。

4

1 回答 1

3

该文件是/lib/pear/MDB2/Driver/Manager/mysql.php. 在第 842 行,更改TYPE=ENGINE=.

PS:这不是PHP问题。

于 2013-04-10T18:36:12.433 回答