Quantcast
Viewing all articles
Browse latest Browse all 52618

hyperic-hq 4.5 with mysql 5.5

Hi,

I tried to install hyperic-hq 4.5 on Solaris 10 with a running MySQL 5.5 database for having a first look on this product. The installation fails with:

--------------------------------------------------------------------------------
An ERROR occurred, the installation cannot continue.
FATAL EXCEPTION at /tmp/hyperic-hq-installer-4.5/installer/data/setup.xml:493: :
The following error occurred while executing this line:
/tmp/hyperic-hq-installer-4.5/installer/data/setup.xml:502: The following error
occurred while executing this line:
/tmp/hyperic-hq-installer-4.5/installer/data/setup.xml:683: The following error
occurred while executing this line:
/tmp/hyperic-hq-installer-4.5/installer/data/setup-db-MySQL.xml:16: The followin
g error occurred while executing this line:
/tmp/hyperic-hq-installer-4.5/installer/data/setup-db-hibernate.xml:94: org.hibe
rnate.tool.hbm2x.ExporterException: Errors while performing Hbm2DDLExporter
--------------------------------------------------------------------------------

While having a look at hyperic-hq-installer-4.5/installer/tmp/sql/hibernate.sql

I realized the last CREATE TABLE in this  file looks like this:
    create table EAM_MEASUREMENT_DATA_1D (
        TIMESTAMP bigint not null,
        MEASUREMENT_ID integer not null,
        VALUE decimal(24,5),
        MINVALUE decimal(24,5),
        MAXVALUE decimal(24,5),
        primary key (TIMESTAMP, MEASUREMENT_ID)
    ) ENGINE=InnoDB;

This gives an error under MySQL 5.5, as MAXVALUE is a reserved word in MySQL 5.5 (see http://dev.mysql.com/doc/refman/5.5/en/reserved-words.html).

Looking and browsing through a couple of source files, it seems, that this is a more generic problem, as MAXVALUE is used all around.

In the hyperic-hq requirements it is written to use MySQL 5.1 or higher. But it seems, that it is not ready for MySQL 5.5 yet.

Will install now a 5.1 and test it against this one, but perhaps someone else is running in this issue...

Regards
Matt

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>