Hi Godwin,
It worked. thanks a lot.

Regards,
Vinod

On Fri, Apr 17, 2015 at 2:47 PM, Godwin Amila Shrimal <god...@wso2.com>
wrote:

> Hi,
>
> Use latin1 character set.
>
>
> Thanks
> Godwin
>
>
> On Fri, Apr 17, 2015 at 2:40 PM, Vinod Kavinda <vi...@wso2.com> wrote:
>
>> Hi,
>> I'm getting the following error while trying to setup a mysql datastore,
>> when running the dbscript located at '<PRODUCT_HOME>/dbscripts/mysql.sql'
>> .
>> Error - *ERROR 1071 (42000) at line 31: Specified key was too long; max
>> key length is 767 bytes*
>>
>> I tried reducing the REG_PATH_VALUE length to 100(mysql.sql attached),
>> with no luck.
>> There is a similar issue[1] that has already resolved.
>>
>> mysql version - mysql  Ver 14.14 Distrib 5.6.22, for osx10.9 (x86_64)
>> mysql command used - mysql -u root -p BAR < mysql.sql
>>
>> Any help is appreciated.
>>
>> [1] - https://wso2.org/jira/browse/CARBON-5917
>>
>> Regards,
>> Vinod Kavinda
>>
>> --
>> Vinod Kavinda
>> Software Engineer, *WSO2, Inc <http://www.wso2.com>.*
>> Mobile : +94 (0) 712 415544
>> vi...@wso2.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Godwin Amila Shrimal*
> Senior Software Engineer
> WSO2 Inc.; http://wso2.com
> lean.enterprise.middleware
>
> mobile: *+94772264165*
> linkedin: *http://lnkd.in/KUum6D <http://lnkd.in/KUum6D>*
> twitter: https://twitter.com/godwinamila
>



-- 
Vinod Kavinda
Software Engineer, *WSO2, Inc <http://www.wso2.com>.*
Mobile : +94 (0) 712 415544
vi...@wso2.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to