MySQL テーブル、タイプ「MyISAM」、照合順序「latin1_swedish_ci」があります。その中に、「コンテンツ」という名前の列があります。
その中に、次の内容の行があります。
<p>The state will have a different advantage over most other states, with one of the largest populations in the nation to blablablabla. </p>
私のクエリはphpMyAdminと私のPHPファイルにあります:
SELECT *
FROM `pages`
WHERE `content` LIKE '%with one of the largest populations%'
ORDER BY `pages`.`title` ASC
LIMIT 0 , 30
0 行が返されます。
奇妙なことに、クエリを次のように編集すると、次のようになります。
SELECT *
FROM `pages`
WHERE `content` LIKE '%with one of the largest%'
ORDER BY `pages`.`title` ASC
LIMIT 0 , 30
その後、1行が返され、機能します。
検索クエリを数単語または数文字のみに制限する設定はありますか?