douhushen3241 2015-11-09 11:18
浏览 106

执行准备好的PDO语句给出“常规错误:10磁盘I / O错误”(PHP)

            $sql = "REPLACE INTO `myTable` VALUES (:symbol1, :symbol1), (:symbol1, :symbol2)";
            $statement = $this->pdoObject->prepare($sql);
            $statement->execute(array(':symbol1' => $symbol1, ':symbol2' => $symbol2));

The above throws a PDOException:

SQLSTATE[HY000]: General error: 10 disk I/O error

I don't see an error in the statement.

  • 写回答

0条回答 默认 最新

    报告相同问题?