Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Setting up a new Rails stack in Ubuntu, including Sphinx.

When I run rake ts:conf, I get "Can't connect to local MySQL server through socket '/var/run/mysqld/mysql.sock' (2)"

This socket file does exist.

Why this is on serverfault: I'm pretty sure this is one of those edge questions that could reasonably go on SF or SO, and I'm wondering if I somehow messed up the sphinx install by relying on the default configuration.

share|improve this question

1 Answer 1

It turns out that part of my app was looking for /mysql.sock, and part for /mysqld.sock. I wound up just symlinking one to the other.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.