summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-06 19:54:59 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-06 19:54:59 +0200
commit55e72f4cdfc387dbfc472387bed38bae7e75828a (patch)
treecbbf3905a346369a8e9862bd487a44d10bdbc108 /config
parenteb7bbedb20e57e7ff266dfd0611d4d25b69cde1b (diff)
downloadgitlab-ce-55e72f4cdfc387dbfc472387bed38bae7e75828a.tar.gz
Gitlab moved to mysql
Diffstat (limited to 'config')
-rw-r--r--config/database.yml.example35
1 files changed, 21 insertions, 14 deletions
diff --git a/config/database.yml.example b/config/database.yml.example
index 51a4dd459dc..379469f79c5 100644
--- a/config/database.yml.example
+++ b/config/database.yml.example
@@ -1,25 +1,32 @@
-# SQLite version 3.x
-# gem install sqlite3
-#
-# Ensure the SQLite 3 gem is defined in your Gemfile
-# gem 'sqlite3'
development:
- adapter: sqlite3
- database: db/development.sqlite3
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_development
pool: 5
- timeout: 5000
+ 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: sqlite3
- database: db/test.sqlite3
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_test
pool: 5
- timeout: 5000
+ username: root
+ password: "secure password"
+ # socket: /tmp/mysql.sock
production:
- adapter: sqlite3
- database: db/production.sqlite3
+ adapter: mysql2
+ encoding: utf8
+ reconnect: false
+ database: gitlabhq_production
pool: 5
- timeout: 5000
+ username: root
+ password: "secure password"
+ # socket: /tmp/mysql.sock