Note that there are some explanatory texts on larger screens.

plurals
  1. POmysql match against russain
    text
    copied!<p>Trying to solve this for a very long time now... </p> <pre><code>SELECT MATCH(name) AGAINST('абраксас') </code></pre> <p>(russian) doesn't work, but</p> <pre><code>SELECT MATCH(name) AGAINST('abraxas') </code></pre> <p>(english) work perfectly.<br> I know it's something with character-set, but I tried all kind of settings and it didn't work.<br> For now it's latin-1.<br> LIKE works<br> This is the <code>show variables</code> charset related: </p> <pre><code>character_set_client - latin1 character_set_connection - latin1 character_set_database - latin1 character_set_filesystem - binary character_set_results - latin1 character_set_server - latin1 character_set_system - utf8 character_sets_dir - /usr/share/mysql/charsets/ collation_connection - latin1_swedish_ci collation_database - latin1_swedish_ci collation_server - latin1_swedish_ci </code></pre> <p>chunk of /etc/my.cnf</p> <pre><code>default-character-set=latin1 skip-character-set-client-handshake </code></pre> <p>chunk of the dump:</p> <pre><code>/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; DROP TABLE IF EXISTS `scenes_raw`; /*!40101 SET @saved_cs_client = @@character_set_client */; /*!40101 SET character_set_client = utf8 */; CREATE TABLE `scenes_raw` ( `scene_name` varchar(40) DEFAULT NULL, ...blabla... ) ENGINE=MyISAM AUTO_INCREMENT=901 DEFAULT CHARSET=utf8; </code></pre> <p>(I did tests without skip-character-set-client-handshake too)</p> <pre><code>SHOW TABLE STATUS WHERE Name = 'scenes_raw'\G Name: scenes_raw Engine: MyISAM Version: 10 Row_format: Dynamic Index_length: 23552 Collation: utf8_general_ci Checksum: NULL Create_options: </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload