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:
- sphinx daemon (searchd) , running
- sphinx listening port 9306 (run netstat -anp | grep list )
- firewall configured pass network connection port 9306 (it does)
hope helps.
Comments
Post a Comment