**root@y:~# sudo indexer --all --rotate**
Manticore 6.3.6 593045790@24080214 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
using config file '/etc/manticoresearch/manticore.conf'...
indexing table 'indexnews'...
collected 248 docs, 0.0 MB
creating secondary index
creating lookup: 0.2 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 248 docs, 23189 bytes
total 0.333 sec, 69441 bytes/sec, 742.65 docs/sec
total 3 reads, 0.000 sec, 15.1 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 6.0 kb/call avg, 0.0 msec/call avg
rotating tables: successfully sent SIGHUP to searchd (pid=241459).
**root@y:~# mysql -h0 -P9306**
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 7
Server version: 6.3.6 593045790@24080214 (columnar 2.3.0 88a01c3@24052206) (secondary 2.3.0 88a01c3@24052206) (knn 2.3.0 88a01c3@24052206) git branch manticore-6.3.6...origin/manticore-6.3.6
Copyright (c) 2000, 2024, Oracle and/or its affiliates.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>SELECT * FROM indexnews WHERE MATCH('sony')
->
Никакого результата, попробовал через php
$mnt = new PDO('mysql:host=127.0.0.1;port=9306');
$mnt->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$stmt = $mnt->query("SELECT * FROM indexnews WHERE MATCH('sony')");
$results = $stmt->fetchAll();
print_r($results);
query.log
/* Thu Oct 24 03:52:11.586 2024 conn 8 (127.0.0.1:43516) real 0.000 wall 0.000 found 0 */ SELECT * FROM indexnews WHERE MATCH('sony'); /*error=unknown local table(s) 'indexnews' in search request */
/* Thu Oct 24 03:52:11.588 2024 conn 8 (127.0.0.1:43516) */ SELECT * FROM indexnews WHERE MATCH('sony')ny')assword # error=unknown local table(s) 'indexnews' in search request
Не находим таблицу и смущает это MATCH(‘sony’)ny’)
searchd.log
[Thu Oct 24 03:43:38.041 2024] [241460] WARNING: rotating table 'indexnews': .new preload failed: failed to open file '/var/lib/manticore/indexnews.spa': 'Permission denied'
[Thu Oct 24 03:43:38.043 2024] [241460] WARNING: table 'indexnews': rotating table 'indexnews': .new preload failed; ROLLBACK FAILED; TABLE UNUSABLE
[Thu Oct 24 03:43:38.043 2024] [241460] WARNING: table 'indexnews': prealloc: failed to open file '/var/lib/manticore/indexnews.spa': 'Permission denied' - NOT SERVING
Где я сделал что то не так?