Ruby on Rails db setup
Posted by: BigChase
Posted on: 2005-12-18 13:20:00
What to set database to in database.yml to account for the fact we can't use localhost on dreamhost?
And what is mysql socket? I believe it is /var/run/mysqld/mysqld.sock
Posted by: BigChase
Posted on: 2005-12-18 13:20:00
What to set database to in database.yml to account for the fact we can't use localhost on dreamhost?
And what is mysql socket? I believe it is /var/run/mysqld/mysqld.sock
Posted by: hoganbp
Posted on: 2005-12-19 17:45:00
Don't use socket... use host instead. When you set up a database with DH, you have to give it a subdomain name and you have to give it a username / database name.
production:
adapter: mysql
database: database
username: username
password: yourpassword
host: mysqlhost.yourdomain.com