Project

General

Profile

RE: Install redmine-2.1.0, Mysql::Error: query: not conne... ยป database.yml

Database.yml File - Rohan Alexander, 2012-10-08 12:26

 
1
# Default setup is given for MySQL with ruby1.8. If you're running Redmine
2
# with MySQL and ruby1.9, replace the adapter name with `mysql2`.
3
# Examples for PostgreSQL and SQLite3 can be found at the end.
4

    
5
production:
6
  adapter: mysql
7
  database: redmine
8
  host: localhost
9
  username: redmine
10
  password: r3dm1ne
11
  encoding: utf8
12

    
13
# Warning: The database defined as "test" will be erased and
14
# re-generated from your development database when you run "rake".
15
# Do not set this db to the same as development or production.
16
test:
17
  adapter: mysql
18
  database: redmine_test
19
  host: localhost
20
  username: redmine
21
  password:
22
  encoding: utf8
23

    
24

    
    (1-1/1)