grouper-users - Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive
Subject: Grouper Users - Open Discussion List
List archive
Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive
Chronological Thread
- From: Scott Koranda <>
- To: Keith Hazelton <>
- Cc: "" <>
- Subject: Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive
- Date: Tue, 6 Sep 2016 07:36:02 -0500
- Ironport-phdr: 9a23:g3a8YhVCGk/D85UCVZJMd5QI+AnV8LGtZVwlr6E/grcLSJyIuqrYZhSEt8tkgFKBZ4jH8fUM07OQ6P+wHzFbqs/c+Fk5M7VyFDY9wf0MmAIhBMPXQWbaF9XNKxIAIcJZSVV+9Gu6O0UGUOz3ZlnVv2HgpWVKQka3HUNPK+/0Ao/fidisn6D3osWLIlYAuD3oQr5zMBX+jQzDu80Kho0qfqU8ywfJ5HtBaelS2WRuDU2ShB2668utqs1N6SNV7skq8NJcGYb9Za0+QbUQWC8lNHo84sHinRbGRAqLoHAbVzNFwVJzHwHZ4USiDd/KuSzgu784gXHCMA==
When I start up the Grouper 2.3.0 Tomcat instance with a MariaDB 5.5.50 database, I get the following in logs/grouperUi/grouper_error.
log:
2016-09-06 08:03:10,089: [pool-2-thread-1] ERROR GrouperStartup.
verifyUtf8andTransactionsHelpe r(407) - - 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
I’ve done all the steps I can find to make Mariadb use utf8 by default. There must be something I’m missing.
--Keith
To change the default character set from latin1 to UTF-8, the following settings should be specified in the my.cnf configuration file.
[client]
...
default-character-set=utf8
...
[mysql]
...
default-character-set=utf8
...
[mysqld]
...
collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
...
- changes
midpoint#>cat /etc/my.cnf
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.
sock collation-server = utf8_unicode_ci
init-connect='SET NAMES utf8'
character-set-server = utf8
# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0
# Settings user and group are ignored when systemd is used.
# If you need to run mysqld under a different user or group,
# customize your systemd unit file for mariadb according to the
# instructions in http://fedoraproject.org/wiki/
Systemd
[mysqld_safe]
log-error=/var/log/mariadb/
mariadb.log pid-file=/var/run/mariadb/
mariadb.pid
#
# include all files from the config directory
#
!includedir /etc/my.cnf.d
midpoint#>cat /etc/my.cnf.d/client.cnf
#
# These two groups are read by the client library
# Use it for options that affect all clients, but not the server
#
[client]
# This group is not read by mysql client library,
# If you use the same .cnf file for MySQL and MariaDB,
# use it for MariaDB-only client options
default-character-set=utf8
[client-mariadb]
default-character-set=utf8
midpoint#>cat /etc/my.cnf.d/mysql-clients.
cnf
#
# These groups are read by MariaDB command-line tools
# Use it for options that affect only one utility
#
[mysql]
default-character-set=utf8
[mysql_upgrade]
[mysqladmin]
[mysqlbinlog]
[mysqlcheck]
[mysqldump]
[mysqlimport]
[mysqlshow]
[mysqlslap]
- restart mariadb.service to pick up new character sets
______________________________
_____ email & jabber:
calendar: http://go.wisc.edu/i6zxx0
- [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Keith Hazelton, 09/06/2016
- Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Scott Koranda, 09/06/2016
- Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Keith Hazelton, 09/07/2016
- Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Keith Hazelton, 09/07/2016
- Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Keith Hazelton, 09/07/2016
- Re: [grouper-users] Grouper 2.3.0 startup error: Queries seem to be case insensitive, Scott Koranda, 09/06/2016
Archive powered by MHonArc 2.6.19.