Merge "Use the mariadb jdbc connector in gerrit"
This commit is contained in:
commit
5c99569a5d
@ -4,10 +4,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if gerrit_reviewdb_database_type == 'mariadb_container' %}
|
{% if gerrit_reviewdb_database_type == 'mariadb_container' %}
|
||||||
[accountPatchReviewDb]
|
[accountPatchReviewDb]
|
||||||
# NOTE(ianw) 2021-07-19 : the mariadb connector throws errors because
|
url = jdbc:mariadb://127.0.0.1:3306/{{ gerrit_reviewdb_mariadb_dbname }}?sessionVariables=character_set_client=utf8,character_set_results=utf8,character_set_connection=utf8,collation_connection=utf8_unicode_ci,collation_database=utf8_unicode_ci,collation_server=utf8_unicode_ci&user={{ gerrit_reviewdb_mariadb_username }}&password={{ gerrit_reviewdb_mariadb_password }}
|
||||||
# it doesn't seem to handle duplicate key detection. Investigation
|
|
||||||
# upstream TBC.
|
|
||||||
url = jdbc:mysql://127.0.0.1:3306/{{ gerrit_reviewdb_mariadb_dbname }}?sessionVariables=character_set_client=utf8,character_set_results=utf8,character_set_connection=utf8,collation_connection=utf8_unicode_ci,collation_database=utf8_unicode_ci,collation_server=utf8_unicode_ci&user={{ gerrit_reviewdb_mariadb_username }}&password={{ gerrit_reviewdb_mariadb_password }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
[auth]
|
[auth]
|
||||||
registerEmailPrivateKey = {{ gerrit_email_private_key }}
|
registerEmailPrivateKey = {{ gerrit_email_private_key }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user