Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/database.yml.mysql32
1 files changed, 32 insertions, 0 deletions
diff --git a/config/database.yml.mysql b/config/database.yml.mysql
new file mode 100644
index 00000000000..0547d4ac8fa
--- /dev/null
+++ b/config/database.yml.mysql
@@ -0,0 +1,32 @@
+development:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_development
+ pool: 5
+ username: root
+ password: "secure password"
+ # socket: /tmp/mysql.sock
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_test
+ pool: 5
+ username: root
+ password:
+ # socket: /tmp/mysql.sock
+
+production:
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_production
+ pool: 5
+ username: root
+ password: "secure password"
+ # socket: /tmp/mysql.sock