A
A
Arman2018-12-12 08:55:09
Sphinx
Arman, 2018-12-12 08:55:09

Can sphinx be closed with login/password?

I found only such
sphinxsearch.com/docs/manual-2.3.2.html#conf-listen
and like Yii2 talks about authorization via username and password https://github.com/yiisoft/yii2-sphinx#configuration
but how to set login and I can't find the password

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Oleg, 2018-12-12
@Arik

Sphinx is not put on shared hosting.
If your project required its use, then you have at least grown up to use VPS.
The description is about sockets, you can not listen on the IP port, but work only through it.
You can also specify a protocol handler (listener) to be used for connections on this socket. Supported protocol values ​​are 'sphinx' (Sphinx 0.9.x API protocol) and 'mysql41' (MySQL protocol used since 4.1 upto at least 5.1). More details on MySQL protocol support can be found in Section 5.10, “MySQL protocol support and SphinxQL” section. Starting with version 2.3.2-beta a HTTP protocol is added using protocol value 'http', available only with 'thread_pool' workers.
Through the socket it also works faster.

P
Puma Thailand, 2018-12-12
@opium

12.1.4. sql_user
SQL user to use when connecting to sql_host. Mandatory, no default value. Applies to SQL source types (mysql, pgsql, mssql) only.
Example:
sql_user = test
12.1.5. sql_pass
SQL user password to use when connecting to sql_host. Mandatory, no default value. Applies to SQL source types (mysql, pgsql, mssql) only.
Example:
sql_pass = mysecretpassword

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question