Webboard: MySQL fulltext parser plugin install issues

[email protected]
Newsgroups gmane.comp.web.mnogosearch.general
Message-ID <[email protected]>
Author: Alexander Barkov
Email: [email protected]
Message:
> I too have  the error when trying to load the plugin into mysql:

> ERROR 1123 (HY000): Can't initialize function 'stemming'; Plugin initialization function failed.

> 

> Mysql 5.1.41, ubuntu 10.04, mnogosearch 3.3.10

> 

> Is there a solution for this?



Make sure that mnogosearch was built with

--enable-mysql-fulltext-plugin.



"nm" should display about this output for libmnogosearch-3.3.so:



nm libmnogosearch-3.3.so |grep parser

00039be7 t add_parser

0002ea6b t udm_parser_boolean_parse

000952a0 d udm_parser_declaration

0002e867 t udm_parser_deinit

0002e606 t udm_parser_init

0002ecd1 t udm_parser_parse

0002eba0 t udm_parser_simple_parse





Also, have a look into MySQL server error log.

It may have some tips of what's going on.

Typical errors are:





- 101218 23:59:55 [ERROR] Plugin 'stemming' init function returned error.

Cannot load conf file 'stemming.conf': Can't open config file 'stemming.conf': No such file or directory





- 101219  0:01:38 [ERROR] Plugin 'stemming' init function returned error.

Cannot load conf file 'stemming.conf': Can't stat '/var/lib/mysql/american.xlg'





Reply: <http://www.mnogosearch.org/board/message.php?id=21163>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.