|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-11-18 08:17 UTC] alexdow__ at hotmail dot com
Description:
------------
Preparing a query on MySQL 5.0 using PDO results in Apache crashing.
Reproduce code:
---------------
$pdo = new PDO('mysql:host=localhost;dbname=somedb','user','pass',array(PDO::ATTR_PERSISTENT => true));
$statement = $pdo->prepare($argQuery);
Expected result:
----------------
I expect $statement to be a proper PDOStatement object.
Actual result:
--------------
Actual result is Apache crashing. I'm not sure how to generate backtraces in windows other than debugging through VS.NET, if you want that.
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 05:00:01 2025 UTC |
$query = "INSERT INTO users (username,email,country,city,password,creation_date,status) VALUES (:username,:email,:country,:city,:password,NOW(),1)"; here is a query I use