Explicitly set utf8 on gerrit jdbc url
Testing on review-dev has shown that gerrit won't honor utf8 characters without explicitly enabling utf8 on the jdbc url string. Add utf8 parameters to the jdbc connection url for the accountPatchReviewDb on review_dev. Change-Id: Ib24a7e53e290cc32e9842d524d51a381aace181a
This commit is contained in:
parent
9692fab0b9
commit
6dcd47daa2
@ -45,7 +45,7 @@ class openstack_project::review_dev (
|
||||
base => 'dev/',
|
||||
}
|
||||
|
||||
$accountpatchreviewdb_url = "jdbc:mysql://${mysql_host}:3306/accountPatchReviewDb?user=gerrit2&password=${mysql_password}"
|
||||
$accountpatchreviewdb_url = "jdbc:mysql://${mysql_host}:3306/accountPatchReviewDb?characterSetResults=utf8&characterEncoding=utf8&connectionCollation=utf8_bin&useUnicode=yes&user=gerrit2&password=${mysql_password}"
|
||||
class { 'openstack_project::gerrit':
|
||||
vhost_name => 'review-dev.openstack.org',
|
||||
canonicalweburl => 'https://review-dev.openstack.org/',
|
||||
|
Loading…
x
Reference in New Issue
Block a user