/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
development: adapter: mysql database: XXX_dev username: root password: timeout: 5000 socket: /Applications/MAMP/tmp/mysql/mysql.sock # 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: mysql database: XXX_test username: root password: timeout: 5000 socket: /Applications/MAMP/tmp/mysql/mysql.sock production: adapter: mysql database: XXX username: root password: timeout: 5000 socket: /Applications/MAMP/tmp/mysql/mysql.sock