From a41619681f7bbf558989b377df8eb8987b694943 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 20 Sep 2005 10:04:12 +0000 Subject: Include suggestion for using different socket #1951 [NVRS] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2272 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/configs/database.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'railties/configs') diff --git a/railties/configs/database.yml b/railties/configs/database.yml index c9c8316dcb..e8977ea352 100644 --- a/railties/configs/database.yml +++ b/railties/configs/database.yml @@ -3,8 +3,10 @@ development: database: rails_development host: localhost username: root - password: - + password: + # With the MySQL adapter on localhost, it defaults to /tmp/mysql.sock + # socket: /var/run/mysqld/mysqld.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. -- cgit v1.2.3