mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
38 lines
1 KiB
Cheetah
38 lines
1 KiB
Cheetah
development:
|
|
adapter: mysql2
|
|
database: tracks
|
|
# set this if you are storing utf8 in your mysql database to handle strings
|
|
# like "Réné". Not needed for sqlite. For PostgreSQL use encoding: unicode
|
|
# encoding: utf8
|
|
host: localhost
|
|
username: root
|
|
password:
|
|
|
|
production:
|
|
# Set this to 'postgresql' if using PostgreSQL.
|
|
adapter: mysql2
|
|
database: tracks
|
|
# set this if you are storing utf8 in your mysql database to handle strings
|
|
# like "Réné".Not needed for sqlite. For PostgreSQL use encoding: unicode
|
|
# encoding: utf8
|
|
host: localhost
|
|
username: root
|
|
password:
|
|
|
|
# The following is an example to configure Tracks to use sqlite
|
|
|
|
#production:
|
|
# adapter: sqlite3
|
|
# database: db/tracks-20-blank.sqlite3.db
|
|
# pool: 5
|
|
# timeout: 5000
|
|
|
|
|
|
# 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: &TEST
|
|
adapter: mysql2
|
|
database: tracks_test
|
|
username: root
|
|
encoding: utf8
|