Hide Forgot
sir our many application depends on fulltext search please look at this bug and reply as soon as possible i want to change my.cnf file and i have seen comment in my.cnf file that i have to set it through "rhc env set " comand. i set follwing environment variables rhc env set OPENSHIFT_MYSQL_LOWER_CASE_TABLE_NAMES=1 -a mysd rhc env set OPENSHIFT_MYSQL_FT_MIN_WORD_LEN=2 -a mysd and i restarted rhc cartridge restart mysql-5.1 -a mysd rhc cartridge restart phpmyadmin-4 -a mysd then i open https://mysd-studentdesk.rhcloud.com/phpmyadmin in variable section MYSQL_LOWER_CASE_TABLE_NAMES=1 (changed from 0 to 1) but FT_MIN_WORD_LEN=4 (remains 4 i want 2) i can only change MYSQL_LOWER_CASE_TABLE_NAMES variable nothing else.
https://github.com/openshift/origin-server/pull/4387
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/6c7b7faa4f82a8cf0c6899c2d37912c4b76d0548 Bug 1044840
It's fixed, verified on devenv_4167, please refer to the following results: 1. Create an app rhc app create ceap6 jbosseap-6 --no-git 2. Add mysql and phpmyadmin rhc cartridge add -c mysql-5.5 -a ceap6 rhc cartridge add -c phpmyadmin-4 -a ceap6 3. Set OPENSHIFT_MYSQL_FT_MIN_WORD_LEN variable rhc env set OPENSHIFT_MYSQL_FT_MIN_WORD_LEN=2 -a ceap6 4. Check the value of OPENSHIFT_MYSQL_FT_MIN_WORD_LEN at step 4: 1) ]$ rhc ssh ceap6 'env |grep FT_MIN_WORD_LEN' OPENSHIFT_MYSQL_FT_MIN_WORD_LEN=2 2) open https://ceap6-cdm.dev.rhcloud.com/phpmyadmin in "Variables" section, the "ft min word len" is setted to 2.
BTW, we should restart mysql and phpmyadmin after set "OPENSHIFT_MYSQL_FT_MIN_WORD_LEN" variable in Comment 3 to make the variable take effect when testing it. Thanks!