Giter VIP home page Giter VIP logo

Comments (4)

okkez avatar okkez commented on May 31, 2024

手元のテスト用に作った環境だときちんと検索できていました。
どこか latin1 になっていたりしないでしょうか。

MariaDB [redmine_development]> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | utf8                       |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | utf8mb4                    |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)

MariaDB [redmine_development]> show create database redmine_development;
+---------------------+------------------------------------------------------------------------------------------------------+
| Database            | Create Database                                                                                      |
+---------------------+------------------------------------------------------------------------------------------------------+
| redmine_development | CREATE DATABASE `redmine_development` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci */ |
+---------------------+------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)

from redmine_full_text_search.

kou avatar kou commented on May 31, 2024

character_set_databasecharacter_set_serverlatin1でした。データベースを作り直したほうがよいでしょうか?

mysql> show variables like '%char%';
+--------------------------+----------------------------+
| Variable_name            | Value                      |
+--------------------------+----------------------------+
| character_set_client     | utf8                       |
| character_set_connection | utf8                       |
| character_set_database   | latin1                     |
| character_set_filesystem | binary                     |
| character_set_results    | utf8                       |
| character_set_server     | latin1                     |
| character_set_system     | utf8                       |
| character_sets_dir       | /usr/share/mysql/charsets/ |
+--------------------------+----------------------------+
8 rows in set (0.00 sec)

mysql> show create database redmine_production;
+--------------------+-------------------------------------------------------------------------------+
| Database           | Create Database                                                               |
+--------------------+-------------------------------------------------------------------------------+
| redmine_production | CREATE DATABASE `redmine_production` /*!40100 DEFAULT CHARACTER SET latin1 */ |
+--------------------+-------------------------------------------------------------------------------+
1 row in set (0.00 sec)

from redmine_full_text_search.

okkez avatar okkez commented on May 31, 2024

MySQLやMariaDBはよくわからないのですが、新しいDBでうまくいくか試してみるのがいいと思います。

from redmine_full_text_search.

okkez avatar okkez commented on May 31, 2024

自分もアクセスできるサーバーでの問題だったので、調査したところプラグインのrake redmine:plugins:migrate忘れが原因だった。

from redmine_full_text_search.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.