From d3f5a0c67f029441537d4f64040bf6454b999120 Mon Sep 17 00:00:00 2001 From: Alexander Mills Date: Wed, 16 Jul 2014 16:44:43 +0100 Subject: [PATCH] set the collation to utf8_general_ci I get problems with strange characters in merge requests unless the collation is set to utf8_general_ci set the collation to utf8_general_ci I get problems with strange characters in merge requests unless the collation is set to utf8_general_ci set the collation to utf8_general_ci I get problems with strange characters in merge requests unless the collation is set to utf8_general_ci --- config/database.yml.mysql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/database.yml.mysql b/config/database.yml.mysql index 55ac088bc1d..a99c50706c5 100644 --- a/config/database.yml.mysql +++ b/config/database.yml.mysql @@ -4,6 +4,7 @@ production: adapter: mysql2 encoding: utf8 + collation: utf8_general_ci reconnect: false database: gitlabhq_production pool: 10 @@ -18,6 +19,7 @@ production: development: adapter: mysql2 encoding: utf8 + collation: utf8_general_ci reconnect: false database: gitlabhq_development pool: 5 @@ -31,6 +33,7 @@ development: test: &test adapter: mysql2 encoding: utf8 + collation: utf8_general_ci reconnect: false database: gitlabhq_test pool: 5