Re: Problems using PDO_MYSQL with MySQL3

From: Date: Fri, 24 Mar 2006 15:29:11 +0000
Subject: Re: Problems using PDO_MYSQL with MySQL3
References: 1 2 3 4 5 6 7 8  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-3659@lists.php.net to get a copy of this message
Andreas Korthaus wrote:
Hi Hartmut! Hartmut Holzgraefe wrote:
Andrey Hristov wrote:
Hi, "Uknown command" comes from the server (ER_UNKNOWN_COM_ERROR) PDO sends a command which is not implemented in 3.23 it's not a query but some COM like COM_PING and so on.
Blind guess: prepared statement/parameter bindung stuff
Do you see any code like that in my PDO script: http://news.php.net/php.pecl.dev/3654 ? That's the whole script for testing this. Or do you think of internal usage of these features? But if this is the case, the manual should be corrected as this will never work with MySQL 3.x.
Internally PDO turns everything into a prepared statement .. there is not even a result object .. only a statement object with an attached result ressource. However pdo_mysql is supposed to degrade gracefully to prepared emulation. I presume some recent change introduced something that broke this, because I am certain at some point it did work. regards, Lukas

« previous php.pecl.dev (#3659) next »