Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2001041

[PHP-DB] Character set?! From: Jarek Zgoda (jarekz <email protected>)
Date: 04/01/01

If i try to connect to MySQL from PHP i receive an error, that says that
"character set #9 couldn't be initialized". PHP tries to look for a
directory with charsets somewhere in /usr/local/..., but the charsets are
installed in /usr/share/mysql/charsets - that's where they are installed
from rpm. I added to my.cnf a line in [client] section (as in manual) and
daemon is running with --default-character-set=latin2. All other (non-PHP)
applications connect without problems and everything is running OK. What
else can i do to enable using latin2 charset?

Cheers
Jarek Zgoda

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>