From:             [EMAIL PROTECTED]
Operating system: FreeBSD 3.3
PHP version:      4.0 Latest CVS (17/01/2001)
PHP Bug Type:     MySQL related
Bug description:  couldn't connect to MySQL server which has default character set 

PHP 4.0.5-dev compiled as DSO --with-mysql --with-apxs

MYSQL 3.23.30 
compiled with
--default-character-set = cp1251 (this is charset #14 in 

have no problem connecting to it from mysql/mysqladmin clients

when trying to mysql_connect() from PHP script, got this error message
...MySQL Connection Failed: Can't initialize character set 14 (path: default)....

installing PHP 4.0.3pl1 solved the problem :)

check out this URL[ST_rn=ps]/getdoc.xp?AN=714791711&CONTEXT=979753585.1563033636&hitnum=8
for description of this bug (or maybe feature) by another user

I find it amusing that 4.0.4 and 4.0.4pl1 do not work because of bug #8738... and 
4.0.5-dev (CVS snapshot) doesn't  work either because of this.


Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to