How can I set the location of my mysql.sock file in sphinx.yml?

8 views
Skip to first unread message

Tony Amoyal

unread,
Sep 8, 2009, 8:43:05 AM9/8/09
to Thinking Sphinx
I tried

sql_sock: /var/run/mysqld/mysqld.sock

but it does not work. ts is still looking in '/tmp/mysql.sock' for my
socket problem

vanderkerkoff

unread,
Sep 9, 2009, 6:47:37 AM9/9/09
to Thinking Sphinx
Hi Tony

I'm really new to TS so bare with me.

have you tried putting it in quotes in your sphinx.yml?

sql_sock: "/var/run/mysqld/mysqld.sock"

V

Pat Allan

unread,
Sep 9, 2009, 7:07:14 AM9/9/09
to thinkin...@googlegroups.com
TS should actually use the socket value from your config/database.yml
file.

--
Pat
Reply all
Reply to author
Forward
0 new messages