sphinx mysql command line

I’ve been searched for a method on how to work using sphinx from console, I needed to access the interface in order to see what’s indexed, how is stored and  also test my searches. After my google searches i’ve ended up with this. mysql -h 127.0.0.1 –prompt ‘SphinxQL>’ –port 9312