I'd check your database.yml points to a valid mysql socket, or server.
If your mysql server is running on a socket something like this would be typical:
Code:
development:
adapter: mysql
database: xyz_development
socket: /var/run/mysqld/mysqld.sock
host: localhost
username: name
password: pass
Or if mysql is running as a server:
Code:
production:
adapter: mysql
host: localhost
database: xyz_production
username: name
password: pass
--
Charlie Harvey's website - linux, perl, java, anarchism and punk rock:
http://charlieharvey.org.uk