From: Hugh Sasse Date: 2005-11-18T09:11:58+09:00 Subject: Re: .yml/host: localhost fails in Rails app generation On Fri, 18 Nov 2005, Richard Lionheart wrote: > The generated database.yml file in depot\config contains several entries of > "socket: /path/to/your/mysql.sock". I couldn't find an "mysql.sock" file > anywhere on my system. Maybe because it issn't a file? srwxrwxrwx 1 mysql staff 0 Nov 11 18:07 /tmp/mysql.sock srwxrwxrwx 1 mysql staff 0 Nov 11 18:07 /tmp/mysql4.sock man ls gives: d The entry is a directory. [...] s The entry is an AF_UNIX address family socket. in the find man page: -type c True if the type of the file is c, where c is b, c, d, D, f, l, p, or s for block special file, character special file, directory, door, plain file, symbolic link, fifo (named pipe), or socket, respectively. And [cf your later message] don't put the MySQL root password in the yaml file, it gives those snooping too much power over your databases. HTH Hugh