You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@eagle.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/03/18 11:01:33 UTC

[jira] [Commented] (EAGLE-202) Specified key was too long; max key length is 1000 bytes for mysql

    [ https://issues.apache.org/jira/browse/EAGLE-202?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15201259#comment-15201259 ] 

ASF GitHub Bot commented on EAGLE-202:
--------------------------------------

GitHub user haoch opened a pull request:

    https://github.com/apache/incubator-eagle/pull/127

    EAGLE-202 Fix primary key length for mysql and add mysql webservice configuration

    https://issues.apache.org/jira/browse/EAGLE-202
    
    It didn’t create the required 24 tables automatically.
    Error : Specified key was too long; max key length is 1000 bytes
    Cause : for UUID columns which is primary key the length is 1024.
    Fix : Change length for PK(UUID) columns to 100 and created tables manually.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/haoch/incubator-eagle jdbc-mysql-store

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-eagle/pull/127.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #127
    
----
commit a4fe0cf877e23ba5f0979af8c95aa8261b8c1d84
Author: Hao Chen <ha...@apache.org>
Date:   2016-03-18T09:56:36Z

    Fix primary key length for mysql and add mysql webservice configuration

----


> Specified key was too long; max key length is 1000 bytes for mysql
> ------------------------------------------------------------------
>
>                 Key: EAGLE-202
>                 URL: https://issues.apache.org/jira/browse/EAGLE-202
>             Project: Eagle
>          Issue Type: Bug
>            Reporter: Hao Chen
>            Assignee: Hao Chen
>
>     It didn’t create the required 24 tables automatically.
> Error      : Specified key was too long; max key length is 1000 bytes
> Cause    : for UUID columns which is primary key the length is 1024.
> Fix          :  Change length for PK(UUID) columns to 100 and created tables manually.
>  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)