|
development:
adapter: mysql2
database: huginn_development
username: root
password:
socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
encoding: utf8
reconnect: true
pool: 5
# 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: huginn_test
username: root
password:
socket: <%= ["/var/run/mysqld/mysqld.sock", "/opt/local/var/run/mysql5/mysqld.sock", "/tmp/mysql.sock"].find{ |path| File.exist? path } %>
encoding: utf8
reconnect: true
pool: 5
production:
adapter: mysql2
encoding: utf8
reconnect: true
database: huginn_production
pool: 5
username: root
password: password
socket: /var/run/mysqld/mysqld.sock
|