Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1065

Failure deploying with mysql/mariadb as internal storage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 2.0.3
    • None
    • core
    • None
    • Real environment with MySQL/MariaDB as internal storage

    Description

      At DB initialization time the following exception is raised.

      Caused by: org.apache.openjpa.lib.jdbc.ReportingSQLException: (conn:70) Specified key was too long; max key length is 767 bytes
      Query is : CREATE TABLE AccessToken (id VARCHAR(255) NOT NULL, body TEXT, expiryTime DATETIME, owner VARCHAR(255), PRIMARY KEY (id)) ENGINE = innodb

      {stmnt 131207471 CREATE TABLE AccessToken (id VARCHAR(255) NOT NULL, body TEXT, expiryTime DATETIME, owner VARCHAR(255), PRIMARY KEY (id)) ENGINE = innodb}

      [code=1071, state=42000]

      Attachments

        Activity

          People

            ilgrosso Francesco Chicchiriccò
            fmartelli Fabio Martelli
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: