Character set?!
| From: | Jarek Zgoda | Date: | Sun, 01 Apr 2001 06:48:29 +0000 |
| Subject: | Character set?! | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-8116@lists.php.net to get a copy of this message | ||
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