我正在尝试以这种方式通过 Linux命令行连接到SphinxQL服务器:
> mysql -P 9306
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
我的 Sphinx 配置文件有 2 个监听条目:
listen = 9312
listen = 9306:mysql41
searchd 守护进程正在运行:
> ps ax | grep searchd
10727 ? S 0:00 /usr/local/sphinx/bin/searchd
10728 ? Sl 0:00 /usr/local/sphinx/bin/searchd
常规搜索查询完美运行:
> /usr/local/sphinx/bin/search StackOverflow | more
Sphinx 2.0.4-release (r3135)
Copyright (c) 2001-2012, Andrew Aksyonoff
Copyright (c) 2008-2012, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '/usr/local/sphinx/etc/sphinx.conf'...
index 'test1': query 'StackOverflow ': returned 2 matches of 2 total in 0.009 sec
displaying matches:
1. document=1788212, weight=1797
id=1788212
...
那么,我做错了什么?如何访问 SphinxQL 控制台?
任何提示将不胜感激。提前致谢!