AW: [opencms-dev] Illegal mix of collations error

leightonbrown at excite.com leightonbrown at excite.com
Fri Jul 2 18:47:01 CEST 2004


Hi,

I changed the key's value to ?useUnicode\=true&characterEncoding\=ISO-8859-1 which allowed me to complete the steps to import the workspace. However my /sites/default/resource folder is now empty for both online and offline projects. I don't think this is correct. I remember seeing so error about locales. Is there an installation log ? and do we require unicode to install the resources ?

Leighton


 --- On Thu 07/01, Thomas Weckert < t.weckert at alkacon.com > wrote:
From: Thomas Weckert [mailto: t.weckert at alkacon.com]
To: opencms-dev at opencms.org
Date: Thu, 1 Jul 2004 12:24:12 +0200
Subject: AW: [opencms-dev] Illegal mix of collations error

Hi, that param gets set by the key mysql.constr.params in<br>webapp/setup/database/mysql/database.properties, which contains a set of<br>predefined key/value pair settings per db server.<br><br>Hth,<br>Thomas Weckert<br>Alkacon Software - The OpenCms Experts<br>http://www.alkacon.com <br><br><br>> -----Ursprüngliche Nachricht-----<br>> Von: opencms-dev-admin at opencms.org <br>> [mailto:opencms-dev-admin at opencms.org] Im Auftrag von <br>> leightonbrown at excite.com<br>> Gesendet: Mittwoch, 30. Juni 2004 23:33<br>> An: opencms-dev at opencms.org<br>> Betreff: RE: [opencms-dev] Illegal mix of collations error<br>> <br>> <br>> <br>> Hi,<br>> <br>> does anyone know where in source code the opencms.properties <br>> key : <br>> db.pool.default.jdbcUrl.params=?useUnicode\=true&characterEnco<br>> ding\=UTF-8<br>> gets set ?<br>> <br>> Leighton<br>> <br>> <br>> <br>>  --- On Wed 06/30, leightonbrown at excite.com < <br>> leightonbrown at excite.com > wrote:<br>> From: leightonbrown at excite.com [mailto: leightonbrown at excite.com]<br>> To: opencms-dev at opencms.org<br>> Date: Wed, 30 Jun 2004 08:10:37 -0400 (EDT)<br>> Subject: [opencms-dev] Illegal mix of collations error<br>> <br>> <br>Hi,<br><br>I'm using <br>opencms version: pre5.3.6dev Ix <br>> (from CVS)<br>tomcat : 5.0.25<br>mysql : 5.0.0<br>linux <br>> (kernel) : 2.6.7<br><br>I'm not able to import the workspace <br>> on initial setup. I get errors like - <br>103:	>>Root <br>> cause was: java.sql.SQLException: Illegal mix of collations <br>> (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) <br>> for operation '='<br>102:	<br>> >>org.opencms.main.CmsException: <br>> [org.opencms.db.mysql.CmsWorkflowDriver] where: <br>> org.opencms.db.generic.CmsWorkflowDriver.writeTaskType(CmsWork<br>> flowDriver.java:823), why: java.sql.SQLException: Illegal mix <br>> of collations (latin1_swedish_ci,IMPLICIT) and <br>> (utf8_general_ci,COERCIBLE) for operation '=' [Code 4 - Sql <br>> exception]<br><br>I've tried the mysql connector which came <br>> with opencms. ( mysql-connector-java-3.0.11-stable-bin.jar ), <br>> I've also tried the <br>> mysql-connector-java-3.0.14-production-bin.jar ,  <br>> mysql-connector-java-3.1.nightly-20040630-bin.jar , and <br>> <br>mysql-connector-java-3.1.2-alpha-bin.jar<br><br>without <br>> success.<br><br>Any ideas <br>><br>?<br><br>Leighton<br><br><br><br><br>___________________________________<br>____________> <br>Join Excite! - http://www.excite.com<br>The > most <br>> personalized portal on the <br>> Web!<br>_______________________________________________<br>Thi<br>> s mail is send to you from the opencms-dev mailing list<br>To <br>> change your list options, or to unsubscribe from the list, <br>> please <br>> visit<br>http://mail.opencms.org/mailman/listinfo/opencms-dev<br><br>> <br>> _______________________________________________<br>> Join Excite! - http://www.excite.com<br>> The most personalized portal on the Web! <br>> _______________________________________________<br>> This mail is send to you from the opencms-dev mailing list<br>> To change your list options, or to unsubscribe from the list, <br>> please visit http://mail.opencms.org/mailman/listinfo/opencms-dev<br>> <br>> <br><br>_______________________________________________<br>This mail is send to you from the opencms-dev mailing list<br>To change your list options, or to unsubscribe from the list, please visit<br>http://mail.opencms.org/mailman/listinfo/opencms-dev<br>

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!



More information about the opencms-dev mailing list