XAMPP MySQL - Setting ft_min_word_len

后端 未结 2 1524
南旧
南旧 2021-01-24 16:05

I have XAMPP installed on my computer, and am using MySQL through it on localhost for a personal project.

I am trying to set the ft_min_word_len variable for fulltext se

2条回答
  •  花落未央
    2021-01-24 16:54

    mysql config file would usually be found on in windows your installation drive:\XAMPP\mysql\bin\my.ini or

    Linux under etc\my.cnf. if you does not get ft_min_word_len variable below the lines you simply add those line anywhere in the page

    [mysqld]

    ft_min_word_len = 3

    then restart mysql server.

提交回复
热议问题