ID:               42079
 Comment by:       kings_wolf at gmx dot de
 Reported By:      mjsabby at gmail dot com
 Status:           Open
 Bug Type:         PDO related
 Operating System: Linux
 PHP Version:      6CVS-2007-07-23 (CVS)
 New Comment:

Not working for me also


Previous Comments:
------------------------------------------------------------------------

[2007-07-23 11:30:16] mjsabby at gmail dot com

Description:
------------
In PHP6 CVS, the PDO driver for MySQL always uses the MySQL 3.x client
API version, according to phpinfo()

>From what it looks like, phpinfo() is telling the truth here, a connect
to the DB failed because of password incompatibility, probably
suggesting the client API is 3.x

However, I could very well be wrong, and it may just be a phpinfo()
output error.

I've compiled 5.2.3 with the same config line (plus/minus ICU) and that
works as desired.

PHP 6 config line:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' /
'--with-mysql=/usr/local/mysql' /
'--with-mysqli=/usr/local/mysql/bin/mysql_config' /
'--with-pdo-mysql=/usr/local/mysql' --with-icu-dir='/home/mukul/icu'

PHP 5.2.3 config line:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' /
'--with-mysql=/usr/local/mysql' /
'--with-mysqli=/usr/local/mysql/bin/mysql_config' /
'--with-pdo-mysql=/usr/local/mysql'

PHP 5.2.3 screen: http://mjsabby.com/pdo523.jpg
PHP CVS6 screen: http://mjsabby.com/phpcvs6.jpg

Expected result:
----------------
PHP 6 should (or if it's a phpinfo() error, then display) the correct
MySQL client API that the PDO has been enabled with.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=42079&edit=1

Reply via email to