title: Connect to SphinxQL through Linux command-line
body: <p>I am trying to connect to <strong>SphinxQL</strong> server through Linux <strong>command-line</strong> this way:</p>
  
  <pre><code>&gt; mysql -P 9306
  
  ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
  </code></pre>
  
  <p>My Sphinx config file has 2 listen entries:</p>
  
  <pre><code>listen                  = 9312
  listen                  = 9306:mysql41
  </code></pre>
  
  <p>searchd daemon is running:</p>
  
  <pre><code>&gt; ps ax | grep searchd
  10727 ?        S      0:00 /usr/local/sphinx/bin/searchd
  10728 ?        Sl     0:00 /usr/local/sphinx/bin/searchd
  </code></pre>
  
  <p>Regular search queries work perfectly:</p>
  
  <pre><code>&gt; /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
  ...
  </code></pre>
  
  <p>So, what I am doing wrong? How can I get access to SphinxQL console?</p>
  
  <p>Any hint will be appreciated. Thanks in advance!</p>