Are you trying to install Webistrano on Ubuntu but you are running into the "Can't connect to local MySQL server through socket '/tmp/mysql.sock'" error?
Note that for some reason the .sock file on Ubuntu is located in /var/run/mysqld and it is called mysqld.sock not mysql.sock
Change /tmp/mysql.sock to /var/run/mysqld/mysqld.sock in your database configuration file (config/database.yml) in your webistrano directory and that should solve the problem.



Comments
Post new comment