The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Installation Step 1 - MySQL Error: Creation of Quartz tables failed"
Hy!
I have almost finished the installation of RapidAnalytics, but during the installation step 1 I got the following error:
Could anyone help me please?
Cheers,
rberger
I have almost finished the installation of RapidAnalytics, but during the installation step 1 I got the following error:
I already googled this error and I think it is a problem with the MySQL character set.
ERROR: Creation of Quartz tables failed: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key lenght is 1000 bytes
Could anyone help me please?
Cheers,
rberger
Tagged:
0
Answers
quartz uses compound keys with three VARCHAR columns of length 200, I believe. That makes for a total of 600 characters. With most encodings, this is still ok, but in UTF16 this is 1200 bytes, which MySQL does not handle by default: Keys can have length at most 1200. Two solutions: Change encoding or allow longer keys. Consult MySQL manual for more info.
Best,
Simon
Thank you very much! I solved the problem this way: I changed the default character set from mysql from utf8 to latin1.
If anyone has the same problem, here is the code: Cheers!