Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] newbie installer question about database to use

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] newbie installer question about database to use


Chronological Thread 
  • From: "Gettes, Michael" <>
  • To: " Mailing List" <>
  • Subject: Re: [grouper-users] newbie installer question about database to use
  • Date: Tue, 14 Apr 2020 13:08:53 +0000
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ufl.edu; dmarc=pass action=none header.from=ufl.edu; dkim=pass header.d=ufl.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=K0p5X8bdordC4IuNCYCRELPiBMXKtPcth5aOP4J5P08=; b=aI8K40hpq3t0JfZGCbjwi1pBZbeaku2Jvd0VYm/BeFZCes1XQjpmIOOn0IX/PWtWdA+4uMb8i092toJ8hs0LZfdg+a7DG3v0ThQV5z+hvT3v3+Rx9hZIBO1gJa2oXPr9NAX2sWbtvYv5kevdTEenfA0YEdicQ0ilwCeyTB+Hlp6uibsqjAsbAjGr808LjdJbsUoFCmm3cX+Z3YsYhxSxy/E1lkW1JcGreb9wunr+/hImaeEJJW6ufs7tqTR6yeM50BnDAzUdMAkB+jdgO5DtziqvirLv0J+dkUhs33tEPODbRx3HIznag5mEfwhHRoBFgYk1Y4Ix8EzyHIzeC6RElA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XHsQ/08BRWMZ7jaxun+Fz8zo71FgBQ2SzTNip/5rLTD00aMd7Phj2uBo1ZFBRJ4kuu8OR1JMuhqUz2DknBo7lQ8QIppV97l9+BSe+x4O5S+VBigJXhiq6JetIWDQl0qqN0h59UrELTZAnVrXokqB0aLMVBw38bYHK5U3nz6YDuTVfKGrRxVToV7bycxem3kyDuxXhpFi4UGR/mmr8Vy3jWn459tUhe5a7r1qzwpVSBBl9s3NjM7h0RtlF8ebsglH/CbLb7J5Cbir5Jer3vWfRW24p8heqNykbmIZ+5yQEfkiMOmwwWSpIUc7tnyPsLD02JAMxPOdh/4lBC0rC6UeoQ==

Hi Les,

We are on MariaDB 10.4.12 image from docker hub.
The driver config we have:
hibernate.dialect = org.hibernate.dialect.MySQLDialect
hibernate.connection.driver_class = com.mysql.cj.jdbc.Driver

And the driver itself we use is mysql-connector-java-8.0.16.jar obtained from https://dev.mysql.com/downloads/connector/j/ (platform independent)
I see 8.0.19 is there and I am going to switch to using that version very soon (maybe today).

To install into the container - my Docker file building a grouper container does this:
RUN rm -f /opt/grouper/grouperWebapp/WEB-INF/lib/mysql-connector-java*.jar
COPY mysql-connector-java*.jar /opt/grouper/grouperWebapp/WEB-INF/lib

If at all possible - run grouper 2.5

I hope this helps.

/mrg

I am attempting to install on Centos 7.  In Centos, I have most familiarity with MySQL/MariaDB, and no familiarity with Postgres or Oracle.  (I am actually much more familiar with MS SQL than MySQL, but I didn't see any references to that in the Grouper installation guides.)  Also, I know a lot of programming languages, but know virtually nothing about actually using Java.  Finally, we don't use AWS yet; all of our cloud adventures have been in GCP or Azure.
 
I installed MariaDB 10.4.12, and I don't think the Grouper container is talking to it.  With "manually" the grouper.log starts with a Communications link failure.  With "using installer", the docker_logs_init_db*.log file ends with "############## Running static SQL".  And in neither case are there any tables in the grouper database.
 
If I want to run the container without adding drivers to it, what MySQL/MariaDB should I install on my Centos 7 host?  If I want to use MariaDB 10.4.12, what driver should I install into the container, and how would I do that?  (Maybe if I knew more about Java I'd be able to answer these questions myself?)




Archive powered by MHonArc 2.6.19.

Top of Page