この方法で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コンソールにアクセスするにはどうすればよいですか?
ヒントをいただければ幸いです。前もって感謝します!