summaryrefslogtreecommitdiff
path: root/config/database.yml.mysql
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-05-25 16:38:23 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-05-25 16:38:23 +0300
commit8ceb94081ac516ccaed43f0f4841725a4f9fe2db (patch)
tree3f7eb88e236ca97ed0ee7c87a1db611e752b6667 /config/database.yml.mysql
parentddc7568fec59aa7a068116f692804504d9aa1a1d (diff)
downloadgitlab-ce-8ceb94081ac516ccaed43f0f4841725a4f9fe2db.tar.gz
[Travis] try run both db
Diffstat (limited to 'config/database.yml.mysql')
-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