Re: change my.ini at run time
Posted by:
Rick James
Date: December 08, 2010 02:15AM
Unfortunately, a change to ft_min_word_len requires a restart of the server, and cannot be changed dynamically.
http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html
If you modify full-text variables that affect indexing (ft_min_word_len, ft_max_word_len, or ft_stopword_file), or if you change the stopword file itself, you must rebuild your FULLTEXT indexes after making the changes and restarting the server. To rebuild the indexes in this case, it is sufficient to do a QUICK repair operation:
mysql> REPAIR TABLE tbl_name QUICK;
Alternatively, use ALTER TABLE with the DROP INDEX and ADD INDEX options to drop and re-create each FULLTEXT index. In some cases, this may be faster than a repair operation.
Subject
Views
Written By
Posted
3002
December 06, 2010 02:44AM
Re: change my.ini at run time
2146
December 08, 2010 02:15AM
Sorry, you can't reply to this topic. It has been closed.
This forum is currently read only. You can not log in or make any changes. This is a temporary situation.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.