Se connecter à SphinxQL par Linux en ligne de commande

Je suis en train d'essayer de se connecter à SphinxQL serveur via Linux de ligne de commande de cette façon:

> mysql -P 9306

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

Mon Sphinx fichier de config a 2 écouter les entrées:

listen                  = 9312
listen                  = 9306:mysql41

searchd démon est en cours d'exécution:

> ps ax | grep searchd
10727 ?        S      0:00 /usr/local/sphinx/bin/searchd
10728 ?        Sl     0:00 /usr/local/sphinx/bin/searchd

Régulièrement des requêtes de recherche fonctionnent parfaitement:

> /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
...

Donc, ce que je fais de mal? Comment puis-je obtenir l'accès à SphinxQL console?

Tout soupçon, sera apprécié. Merci à l'avance!

  • La spécification d'adresse d'hôte, j'ai obtenu console MySQL au lieu de SphinxQL console: C'est bizarre ...: > mysql -h 127.0.0.1 -P 9306 Bienvenue à MySQL monitor...