Sphinx Search mysql client on production server -


i want connect sphinxql on production server execute sphinx queries on mysql database,

please note ran following commands in production server terminal(ubuntu 10.04) connecting remotely.

mysql -h 127.0.0.1 -p 9312 mysql -h 127.0.0.1 -p 9306 mysql -h <<my_production_ip_address>> -p 9312 mysql -h <<my_production_ip_address>> -p 9306 

tried changing bind_address in /etc/mysql/my.cnf my_production_ip_address.

i want run sphinx query on production server debugging.

please help.

thanks.

please make sure have following line in sphinx configuration file (usually sphinx.conf) under searchd {...} section:

listen = 9306:mysql41 

if not, please add , restart sphinx.

please make sure that:

  1. sphinx daemon (searchd) , running
  2. sphinx listening port 9306 (run netstat -anp | grep list )
  3. firewall configured pass network connection port 9306 (it does)

hope helps.


Comments

Popular posts from this blog

javascript - backbone.js Collection.add() doesn't `construct` (`initialize`) an object -

php - Get uncommon values from two or more arrays -

Adding duplicate array rows in Php -