PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #1173

DSN problens with % caracter

Details

Submitted2004-04-10 11:50 UTC
Frommaka3d at yahoo dot com dot br
StatusNo Feedback
PackageDB_DataObject
PHP Version4.3.4
OSwinXP/FreeBSD
Roadmaps(Not assigned)

Comments

[2004-04-10 11:50 UTC] maka3d at yahoo dot com dot br

Description:
------------
DSN does not autenticate with mysql if password contains the caracter %.

with this DSN:
mysql://username:srs2%342@host/database
I get an error message that says: could not connect using password = YES.

I change the mysql password and DSN to this:
mysql://username:srs2342@host/database
and works fine.

With the old password I could connect without problens using mysql_pconnect or mysqlfront.

I think this problem may happen with other db packages that use DSN