プロジェクト

全般

プロフィール

Vote #80350

未完了

Document MySQL database migration to utf8mb8

Admin Redmine さんが約4年前に追加. 約4年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Documentation_24
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
24
version_id:
0
issue_org_id:
32140
author_id:
419186
assigned_to_id:
0
comments:
4
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

Feature #31921 included in 4.1.0 sets utf8mb4 as default encoding for new MySQL databases setups.

In the description, Marius BALTEANU added :

I'll try to create later a Wiki page regarding the steps required to migrate and existing installation or at least some useful links.

There is no documentation explaining how to migrate yet.

#21398 includes a migration script, but people in that thread reported failures with the script.


journals

--------------------------------------------------------------------------------
According to my knowledge, I have created the following HowTo: [[HowTo_convert_a_database_from_utf8_to_utf8mb4]]
--------------------------------------------------------------------------------
Sorry I didn't get back to this issue before.
Migrating a MySQL/MariaDB database to utf8mb4 might require a lot of steps, depending on the MySQL or MariaDB release you have.
I actually migrated our Redmine database using the Nextcloud documentation, which thoroughly describes each case.
This documentation can be found at https://docs.nextcloud.com/server/20/admin_manual/configuration_database/mysql_4byte_support.html

I also had to edit the config/database.yml file in Redmine folder, to alter this entry :
<pre>
encoding: utf8mb4
</pre>

--------------------------------------------------------------------------------
I've made a few changes to the description
--------------------------------------------------------------------------------

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0