[horde] PDOException: SQLSTATE[HY000] [2019] Can't initialize character set utf-8 (path: /usr/share/mysql/charsets/)

MarkatOSI buy at mark.net
Sat Apr 9 14:35:56 UTC 2011

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


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
>> "mysql:persistent=;protocol=unix;charset=utf-8;ssl=;phptype=mysql;dbname=horde;unix_socket=/var/lib/mysql/mysql.sock".
>> PDOException: SQLSTATE[HY000] [2019] Can't initialize character set utf-8
>> (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.
> Jan.
> -- 
> Do you need professional PHP or Horde consulting?
> http://horde.org/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-tp31354285p31359413.html
Sent from the Horde - General mailing list archive at Nabble.com.

More information about the horde mailing list