[cosmo-dev] Cosmo 0.14 fresh install and MySQL Database

Guillaume Gautreau guillaume.gautreau at enpc.fr
Fri Apr 4 07:38:22 PDT 2008



Randy Letness a écrit :
> Guillaume Gautreau wrote:
>>
>>
>> As you can see, a table could not be created, due to a syntax error :
>>
>>     Unsuccessful schema statement: create table attribute [...]
>>     com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an
>>     error in your SQL syntax; check the manual that corresponds to
>>     your MySQL server version for the right syntax to use near
>>     '*clob*(102400000), intvalue bigint, stringvalue varchar(2048),
>>     itemid bigint not n' at line 1
>>
>
>
> This looks like you need to set 
> cosmo.hibernate.dialect=org.osaf.cosmo.hibernate.CosmoMySQL5InnoDBDialect 
> in etc/cosmo.properties.
>
Even if my database is in MyISAM format ?

-- 
Guillaume Gautreau
Responsable projets SI
        Bureau P-417
        Tel : +33 (0)1.64.15.33.22
        Ecole des ponts
        6 et 8 avenue Blaise Pascal - Cité Descartes
        Champs-sur-Marne - 77455 Marne la Vallée cedex 2

Ce message a été signé numériquement avec GnuPG.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://lists.osafoundation.org/pipermail/cosmo-dev/attachments/20080404/fa46d3b7/signature.pgp


More information about the cosmo-dev mailing list