Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Upgrade DB from 2.2 -> 2.3, MySQL issues

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Upgrade DB from 2.2 -> 2.3, MySQL issues


Chronological Thread 
  • From: "Waldbieser, Carl" <>
  • To: Gouper Users List <>
  • Subject: Re: [grouper-users] Upgrade DB from 2.2 -> 2.3, MySQL issues
  • Date: Fri, 13 May 2016 15:33:37 -0400 (EDT)


After poking at this issue for a while, I changed the value of
"grouper_ddl.db_version" for the row with objectname == "Subject" from 1 to
29.
I have no idea what this means, but after that, `gsh -registry -check`
generated a DDL script with the DROPs I'd expect.

My problem now is the following definition:

CREATE TABLE grouper_QZ_JOB_DETAILS
(
sched_name VARCHAR(120) NOT NULL,
job_name VARCHAR(200) NOT NULL,
job_group VARCHAR(200) NOT NULL,
description VARCHAR(250) NULL,
job_class_name VARCHAR(250) NOT NULL,
is_durable TINYINT(1) NOT NULL,
is_nonconcurrent TINYINT(1) NOT NULL,
is_update_data TINYINT(1) NOT NULL,
requests_recovery TINYINT(1) NOT NULL,
job_data LONGBLOB NULL,
PRIMARY KEY (sched_name, job_name, job_group)
);

Specifically, I get the following error:

ERROR 1071 (42000) at line 153: Specified key was too long; max key length
is 1000 bytes

Have any other folks using MySQL run into this? I see there is a
StackExchange article [1] that talks about how this limit can be increased to
3072 bytes-- is that what others have done?

Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College

[1]
http://dba.stackexchange.com/questions/49913/specified-key-was-too-long-max-key-length-is-1000-bytes-in-mysql-5-6

----- Original Message -----
From: "waldbiec"
<>
To: "Gouper Users List"
<>
Sent: Friday, May 13, 2016 1:52:28 PM
Subject: [grouper-users] Upgrade DB from 2.2 -> 2.3, MySQL issues

I tried upgrading my development instance of Grouper today from v2.2 to v2.3.
The software upgrade went pretty smoothly.

The generated SQL script is another story. The first statement in it is
`CREATE TABLE grouper_ddl`. This table already exists in my Grouper
database, so that's going to cause an error.

Is there something I am missing that has caused the SQL script that was
generated to *not* recognize a bunch of tables in my database? It appears as
though there are many CREATE TABLE statements in the script that already
exist in my database.

Any advice would be appreciated.

Thanks,
Carl Waldbieser
ITS Systems Programmer
Lafayette College



Archive powered by MHonArc 2.6.16.

Top of Page