Bug 1223675
| Summary: | Want to change the configuration of mysql-5.5 for changing character set utf-8mb4. Unable to get file my.cnf | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Raman Joshi <raman.joshi> |
| Component: | Unknown | Assignee: | Brenton Leanhardt <bleanhar> |
| Status: | CLOSED WONTFIX | QA Contact: | XiuJuan Wang <xiuwang> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.2.0 | CC: | aos-bugs, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, tiwillia, xtian |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-08 18:19:09 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Raman Joshi
2015-05-21 08:11:48 UTC
We successfully able to support UTF-8 in local database. But for openshift we investigate a lot and found that we do not have the permission to edit mysql configuration file. So we will look into this and let you know if we found any solution on that.
Steps we follow for support UTF-8 in local -
a) Edit my.cnf by this command.
> sudo vim /etc/mysql/my.cnf
b) In there we add these lines
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4
[mysqld]
init-connect='SET NAMES utf8mb4'
collation_server=utf8mb4_unicode_ci
character_set_server=utf8mb4
c) then restart the mysql service
> sudo /etc/init.d/mysql restart
At this point in the release cycle, this feature is not important enough to be worked. Closing this. |