Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# blazD 3/14/2006 10:38 PM
Hi!
I have problems with mysql and default chrset set to cp1250, get error that is not supported. What can I do?
# martijnb 3/15/2006 1:02 AM
With MySQL you can force the charset in the connectionstring by adding ';charset=your_charset'.
# blazD 3/15/2006 10:57 PM
No, this didn't work! Here is some of trace log :

[MySqlException: Character set 'cp1250' is not supported]
MySql.Data.MySqlClient.CharSetMap.GetEncoding(DBVersion version, String CharSetName) +270
MySql.Data.MySqlClient.Driver.Configure(MySqlConnection connection) +463
MySql.Data.MySqlClient.NativeDriver.Configure(MySqlConnection connection) +10
MySql.Data.MySqlClient.MySqlConnection.Open() +195
NHibernate.Connection.DriverConnectionProvider.GetConnection() +112

I have set ,for mysql, default charset to cp1250 and collation to croatian. Is any work around ?
# martijnb 3/16/2006 12:58 AM
blazDI have set ,for mysql, default charset to cp1250 and collation to croatian. Is any work around ?

I have no idea. Maybe you could ask the MySQL experts?