2013-08-17 10:34:19 +08:00
|
|
|
# Default setup is given for MySQL with ruby1.9. If you're running Redmine
|
|
|
|
# with MySQL and ruby1.8, replace the adapter name with `mysql`.
|
|
|
|
# Examples for PostgreSQL, SQLite3 and SQL Server can be found at the end.
|
|
|
|
# Line indentation must be 2 spaces (no tabs).
|
2013-08-01 10:33:49 +08:00
|
|
|
|
|
|
|
production:
|
|
|
|
adapter: mysql2
|
2013-10-10 15:48:00 +08:00
|
|
|
database: trustie
|
|
|
|
host: 10.107.17.20
|
2013-09-23 09:41:36 +08:00
|
|
|
#socket: /home/pdl/redmine-2.3.1-2/mysql/tmp/mysql.sock
|
2013-08-01 10:33:49 +08:00
|
|
|
port: 3306
|
|
|
|
username: root
|
2013-10-10 15:48:00 +08:00
|
|
|
password: "1234"
|
2013-08-01 10:33:49 +08:00
|
|
|
encoding: utf8
|
|
|
|
|
|
|
|
development:
|
|
|
|
adapter: mysql2
|
2013-10-10 15:48:00 +08:00
|
|
|
database: trustie
|
|
|
|
host: 10.107.17.20
|
2013-08-17 10:34:19 +08:00
|
|
|
#socket: /home/pdl/redmine-2.3.1-2/mysql/tmp/mysql.sock
|
2013-08-01 10:33:49 +08:00
|
|
|
port: 3306
|
|
|
|
username: root
|
2013-10-10 15:48:00 +08:00
|
|
|
password: "1234"
|
2013-08-01 10:33:49 +08:00
|
|
|
encoding: utf8
|
|
|
|
|
|
|
|
# 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
|
|
|
|
database: bitnami_redmine
|
2013-08-17 10:34:19 +08:00
|
|
|
host: 192.168.83.251
|
|
|
|
socket: /home/pdl/redmine-2.3.1-2/mysql/tmp/mysql.sock
|
2013-08-01 10:33:49 +08:00
|
|
|
port: 3306
|
|
|
|
username: root
|
2013-08-17 10:34:19 +08:00
|
|
|
password: "1234"
|
2013-08-01 10:33:49 +08:00
|
|
|
encoding: utf8
|
|
|
|
|
2013-08-17 10:34:19 +08:00
|
|
|
# PostgreSQL configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: mysql2
|
|
|
|
# database: bitnami_redmine
|
|
|
|
# host: localhost
|
|
|
|
socket: /home/pdl/redmine-2.3.1-2/mysql/tmp/mysql.sock
|
2013-08-01 10:33:49 +08:00
|
|
|
port: 3306
|
2013-08-17 10:34:19 +08:00
|
|
|
# username: bitnami
|
|
|
|
# password: "c16af1e560"
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2013-08-17 10:34:19 +08:00
|
|
|
# SQLite3 configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: mysql2
|
|
|
|
# database: bitnami_redmine
|
|
|
|
|
|
|
|
# SQL Server configuration example
|
|
|
|
#production:
|
|
|
|
# adapter: mysql2
|
|
|
|
# database: bitnami_redmine
|
|
|
|
# host: localhost
|
|
|
|
socket: /home/pdl/redmine-2.3.1-2/mysql/tmp/mysql.sock
|
|
|
|
port: 3306
|
|
|
|
# username: bitnami
|
|
|
|
# password: "c16af1e560"
|