BigW Consortium Gitlab

Set 'staging specific' in database.yml.mysql

parent b3f74903
...@@ -10,7 +10,7 @@ production: ...@@ -10,7 +10,7 @@ production:
pool: 10 pool: 10
username: git username: git
password: "secure password" password: "secure password"
# host: localhost host: localhost
# socket: /tmp/mysql.sock # socket: /tmp/mysql.sock
# #
...@@ -25,7 +25,22 @@ development: ...@@ -25,7 +25,22 @@ development:
pool: 5 pool: 5
username: root username: root
password: "secure password" password: "secure password"
# host: localhost 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
# socket: /tmp/mysql.sock # socket: /tmp/mysql.sock
# Warning: The database defined as "test" will be erased and # Warning: The database defined as "test" will be erased and
...@@ -40,6 +55,6 @@ test: &test ...@@ -40,6 +55,6 @@ test: &test
pool: 5 pool: 5
username: root username: root
password: password:
# host: localhost host: localhost
# socket: /tmp/mysql.sock # socket: /tmp/mysql.sock
prepared_statements: false prepared_statements: false
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment