Page 1 of 1

Sphinx

Posted: Fri Jul 09, 2021 12:31 pm
by Semen_ssr
Установил, подключил:
Warning, you have following CORE errors (You have to fix it and delete those messages from Home - Script Messages after that)

Core error: Mysql error 1046: No database selected (DESCRIBE `example_index`)

ERROR :: Can not connect to Sphinx (Mysql error:: 1046 (No database selected) (db_sphinx) in query DESCRIBE `example_index`. (example.net) )
сами индексы сфинкса работают, их файлы в /scj/sphinx/ есть,

Порт 9306, к нему даже можно внучную приконектится, и там видны эти индексы

mysql -h0 -P9306

> show tables;
+-----------------------------------+-------+
| Index | Type |
+-----------------------------------+-------+
| example_delta_index | local |
| example_index | local |
| example_search_queries_index | local |
+-----------------------------------+-------+
3 rows in set (0.000 sec)

Что пошло не так ?)

Your Build 202107081508 (Current build: 202107081508 ) PHP version 7.4.11 Mysql Version: 10.4.14-MariaDB

Re: Sphinx

Posted: Fri Jul 09, 2021 2:00 pm
by Semen_ssr
127.0.0.1 вместо localhost, вопрос снят )

Re: Sphinx

Posted: Fri Jul 09, 2021 5:45 pm
by admin
ок )