Good day all!

Please help me with charset adding. I have some strange trouble.
I use FreeBSD 4.2 STABLE and MySQL 3.23.28-gamma (compiled from FreeBSD
ports) and PHP 4.04.
As I understood Latin1 is a default charset. So, I wanted to add cp1251 or
koi8_ru.
Ok, I add --default-character-set=cp1251 to my mysql start-up script.

The problem is:

If I connect from console to mysql and type \s (to get status information)
it shows: Language: cp1251
Everything seems OK, but if I try to connect via phpMyAdmin or Horde
(webmail implementation) it returns -

<<For phpMyAdmin>>
Warning: MySQL Connection Failed: Can't initialize character set 14 (path:
default) in /usr/local/www/htdocs/adm/lib.inc.php on line 255
Error

<<For Horde>>
Warning: Can't initialize character set 14 (path: default) in
/usr/local/lib/phplib/db_mysql.inc on line 73

I don't know where is my mistake?
I do have sql/share/charsets folder with Index and cp1251.conf. I checked
Index - records are OK. Should I add something to /etc/my.cnf file?

Looking forward to hear from you.

Regards,
Roman



-- 
---------------------------------------------------------------------
Please check "http://www.mysql.com/documentation/manual.php" before
posting. To request this thread, e-mail [EMAIL PROTECTED]

To unsubscribe, send a message to:
    <[EMAIL PROTECTED]>

If you have a broken mail client that cannot send a message to
the above address (Microsoft Outlook), you can use:
    http://lists.mysql.com/php/unsubscribe.php

Reply via email to