Skip to Content.
Sympa Menu

grouper-users - [grouper-users] RE: Error about MySQL bin collation

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] RE: Error about MySQL bin collation


Chronological Thread 
  • From: "Wessel, Keith" <>
  • To: "Eszes, Gabor" <>, "Coleman, Erik C" <>, "" <>
  • Subject: [grouper-users] RE: Error about MySQL bin collation
  • Date: Tue, 22 May 2018 20:57:48 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:B9/EJhYnMeiUPmYDXdDTK07/LSx+4OfEezUN459isYplN5qZpsy5ZB7h7PlgxGXEQZ/co6odzbaO6Oa4ASQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9HiTahb75+Ngm6oRnMvcQKnIVuLbo8xAHUqXVSYeRWwm1oJVOXnxni48q74YBu/SdNtf8/7sBMSar1cbg2QrxeFzQmLns65Nb3uhnZTAuA/WUTX2MLmRdVGQfF7RX6XpDssivms+d2xSeXMdHqQb0yRD+v9LlgRgP2hygbNj456GDXhdJ2jKJHuxKquhhzz5fJbI2JKPZye6XQds4YS2VcRMZcTyxPDJ2hYYsTAeQPPuhYoIv8p1QSohWxChKhBP/2yjNUmnP6wbE23/onHArb3AIgBdUOsHHModn7NKgdT/u1zLLWwjXHd/9dxDLz55bJchA9ofGAU697fM3SyUghCQzFlU6QppLhPz6O1+QNt2yb7+tmVeKoim4nsBt9rSayyccxk4TEgJ8exF7D9SV82ok1JNu4RVZhbt6hCpRRtiaaN41sTsw+RGFovT42yrwAuZ6nYicK0pInyADDa/CZaYSH/A/sVPuJLThigXJqYrO+hxG08Ue6xOz8TdO430pNripAlNTHq3MD1wTL58SaTvZx4F2t1SuN2gzJ6exIP1o4mKjHJ5I5w7M9mYAfvVrdEiPshUn7j7Oael859uWo5enrervmqYGfOoNojwzzN7ohltGlDuQ2NwUDXGaW9fmh2LDm/ED5TrFHg/g2n6bFvp3WOcIWrbOjDQBPyIYs8RO/Ai+m0NsGmXkHK0pIeBODj4jtOlHOJvf4Dfakg1i2jjhk2u3GMqXgApXLMHfDjK/scat55kJC0gY/0NJS64hXB70fOv7+WFP9uMTdDhAjMgy0x+jnCM961oMbQW+PAaGYP73JsV+T+O0vJ/KBZI4RuDb5Kvgl4fnujX4imVMHY6amwIYXZGiiHvt6O0WZfWbsgtAZHGcFpAo+S/HqiEWcXj5JfnqyQrk86S8hCIK9ForDQoGtgKed3CegAJFafGFGClaQEXj2bYWEXekDaD6MLsN7jDMLSKWhGMcd0kTkmRToxqEjZsXd8CoC/9q3+/Vu9eDIvRY+6Hp5A9nLlynHZGZwk2YBQXt+8bp+ogRWgB/X3KNzq/1cEd1V4PJSFAo2KMiYh6Z1EdfvQg/bO8qSRUy9atSgHTwrSN8tmZkDb1s3U4GtlBfexyewRqIOmqaQLJ0y7q/G2XXtfYBwx2uQh4c7iFxzCPRCLnarguo31AXSG46D2xGaiKuxbqkY9C/J8GaFymuV+kxUTVgjAu3+QXkDax6O/pzC7UTYQurrUOx/Pw==

Thanks, Gabor.

I was just talking to Erik about this and said we could easily change the
default collation for the database, but I wasn't sure how to change what
Amazon created by default. The parameter groups are the answer to that.

This should dot he trick.

Thanks,
Keith


-----Original Message-----
From:


<>
On Behalf Of Eszes, Gabor
Sent: Tuesday, May 22, 2018 3:05 PM
To: Coleman, Erik C
<>;


Subject: [grouper-users] Re: Error about MySQL bin collation

This sounds similar to a post from 2016 [1], where the fix was changing the
collation setting to utf8_bin, which is what the error message tries to
reference.

In RDS you should be able to change the collation by issuing an alter [2].

[1] https://lists.internet2.edu/sympa/arc/grouper-users/2016-09/msg00020.html

[2]
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_WorkingWithParamGroups.html


________________________________________
From:


<>
on behalf of Coleman, Erik C
<>
Sent: Tuesday, May 22, 2018 3:56:46 PM
To:

Subject: [grouper-users] Error about MySQL bin collation

I have Grouper successfully connecting to an AWS RDS instance, running
MariaDB. But at startup, I'm getting this error:

[pool-3-thread-1] ERROR GrouperStartup.verifyUtf8andTransactionsHelper(462) -
- Error: Queries in your database seem to be case insensitive, this can be a
problem for Grouper, if you are using MySQL you should use a bin collation

My connection string is as follows:

hibernate.connection.url =
jdbc:mysql://xxxx.us-east-2.rds.amazonaws.com:3306/grouper?CharSet=utf8&useUnicode=true&characterEncoding=utf8

Any suggestions? I didn't have any different options when running a local db
instance running straight MySQL, so I'm not sure if this is a MariaDB thing?

Thanks!

Erik Coleman
University of Illinois at Urbana-Champaign




Archive powered by MHonArc 2.6.19.

Top of Page