F
F
fso2013-12-25 07:10:44
Sphinx
fso, 2013-12-25 07:10:44

MariaDB + Sphinx I connect via mysql (console mysql -P 3307 and php mysqli) with Shinx and get into MariaDB. Why?

Morning!
Configured sphinx listen = 3307:mysql41
At the same time, when connecting from the console mysql -P 3307, I get not into the sphinx, but into mariadb. Same picture when using mysqli in php. Changing the port does not help, and in general, if you specify any port "from the ceiling", the connection is established successfully with mariadb.
Debian 7 server, Sphinx 2.1.4-release, Mariadb 5.5.32.
Has anyone experienced this kind of magic? Maybe there are guesses in which direction to dig?
I would be grateful for any thoughts on the topic!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
egor_nullptr, 2013-12-25
@fso

mysql -h 127.0.0.1 -P 3307
If you do not specify a host, then the connection will go to the local socket (by default /tmp/mysql.sock), while the "port" parameter is ignored.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question