Ruby-on-Rails-MAMP-数据库.yml
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ruby-on-Rails-MAMP-数据库.yml相关的知识,希望对你有一定的参考价值。
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
以上是关于Ruby-on-Rails-MAMP-数据库.yml的主要内容,如果未能解决你的问题,请参考以下文章