[horde] PDOException: SQLSTATE[HY000]  Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)
buy at mark.net
Sat Apr 9 15:18:56 UTC 2011
The patch worked.
Jan Schneider wrote:
> Zitat von MarkatOSI <buy at mark.net>:
>> Jan Schneider wrote:
>>> Zitat von MarkatOSI <buy at mark.net>:
>>>> I receive this error when trying to save the DB config from the horde
>>>> configuration screen
>>>> Centos 5.5
>>>> I'm using php 5.3.6
>>>> Mysql 5.5.10 and utf8 is the default character set for the server and
>>>> database and utf8 is defined
>>>> in the /usr/share/mysql/charsets/Index.xml file
>>>> Could not instantiate PDO with DSN
>>>> PDOException: SQLSTATE[HY000]  Can't initialize character set
>>>> (path: /usr/share/mysql/charsets/)
>>> Does it work if you set the charset to utf8 instead of utf-8 in the DB
>>> configuration? Shouldn't make a difference, but it's worth a try.
>> Just tried your recommendation on the other server with php 5.3.6 and it
>> worked with utf8
>> versus utf-8. Just to double check i tried it again with utf-8 and that
>> didn't work
> Please try this patch:
> Do you need professional PHP or Horde consulting?
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
View this message in context: http://old.nabble.com/PDOException%3A-SQLSTATE-HY000---2019--Can%27t-initialize-character-set-utf-8-%28path%3A--usr-share-mysql-charsets-%29-tp31354285p31359567.html
Sent from the Horde - General mailing list archive at Nabble.com.
More information about the horde