what's next?

For Leopard, installing Sphinx from ports with mysql binary from mysql

In Uncategorized on September 4, 2009 at 11:57 am

Given I’ve installed sphinx

And I’ve used mac port for the install

When I run sphinx  indexer

Then it expects the mysql socket to be in /opt/local/var/run/mysql5/mysqld.sock

Given I’ve installed mysql

And I’ve used the binary from mysql

When I run mysqld

Then it use the mysql socket in /tmp/mysql.sock

To get sphinx indexer to use my installed version of mysql, I have to change make a change in the sphinx.conf file to tell sphinx indexer to use the mysql socket in /tmp/mysql.sock:

in some source …

{

sql_sock = /tmp/mysql.sock

}

Check  sphinx_docs [SphinxWiki] for reference.

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 716 other followers

%d bloggers like this: