database.yml.mysql 1.16 KB
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1 2 3 4 5
#
# PRODUCTION
#
production:
  adapter: mysql2
6 7
  encoding: utf8
  collation: utf8_general_ci
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
8 9
  reconnect: false
  database: gitlabhq_production
10
  pool: 10
11
  username: git
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
12
  password: "secure password"
13
  host: localhost
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
14 15 16
  # socket: /tmp/mysql.sock

#
17
# Development specific
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
18
#
19 20
development:
  adapter: mysql2
21 22
  encoding: utf8
  collation: utf8_general_ci
23 24 25 26 27
  reconnect: false
  database: gitlabhq_development
  pool: 5
  username: root
  password: "secure password"
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
  host: localhost
  # socket: /tmp/mysql.sock

#
# Staging specific
#
staging:
  adapter: mysql2
  encoding: utf8
  collation: utf8_general_ci
  reconnect: false
  database: gitlabhq_staging
  pool: 10
  username: git
  password: "secure password"
  host: localhost
44 45 46 47 48
  # 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.
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
49
test: &test
50
  adapter: mysql2
51 52
  encoding: utf8mb4
  collation: utf8mb4_general_ci
53 54 55 56 57
  reconnect: false
  database: gitlabhq_test
  pool: 5
  username: root
  password:
58
  host: localhost
59
  # socket: /tmp/mysql.sock
60
  prepared_statements: false