Gitlab moved to mysql

This commit is contained in:
Dmitriy Zaporozhets 2012-03-06 19:54:59 +02:00
parent eb7bbedb20
commit 55e72f4cdf
3 changed files with 32 additions and 14 deletions

View file

@ -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