I use MySql REGEXP:
SELECT * FROM myTable
WHERE title REGEXP \"dog|cat|mouse\";
The dataset is small, so I am not concerned about performan
There's really no nice solution except concatenating ANDs:
SELECT * FROM myTable
WHERE title REGEXP "dog"
AND title REGEXP "cat"
AND title REGEXP "mouse"
The regular expression would otherwise look like this:
SELECT * FROM myTable
WHERE title REGEXP "(dog.*cat.*mouse)|(dog.*mouse.*cat)|(mouse.*dog.*cat)|(mouse.*cat.*dog)|(cat.*dog.*mouse)|(cat.*mouse.*dog)"