Bug 1022964

Summary: No ability to set the default character encoding as an environment variable for MySQL cartridge at server side
Product: OpenShift Online Reporter: Hanine HAMZIOUI ALMADANI <hanynowsky>
Component: ContainersAssignee: Jhon Honce <jhonce>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: hasari
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
URL: https://www.openshift.com/forums/openshift/mysql-cartridge-bug-cannot-change-character-set-to-utf8
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-24 19:08:18 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 Hanine HAMZIOUI ALMADANI 2013-10-24 11:32:03 UTC
Description of problem:


Version-Release number of selected component (if applicable):
MySQL Cartridge 5.1

How reproducible:
https://www.openshift.com/forums/openshift/mysql-cartridge-bug-cannot-change-character-set-to-utf8

Steps to Reproduce:
1. Insert a value in database which must be encoded as UTF-8
2. Read the value inserted from database
3. The Value is not readable and produced as ? chars: ???????

Actual results:
Unreadable strings

Expected results:
Readable strings

Additional info:
Cannot persist changes to my.cnf as it's overwritten after each git push and deploy. Must set the defaut character set / collation as an OpenShift variable that we could set from line command : rhc set variable .....

Comment 1 Hiro Asari 2013-10-24 19:08:18 UTC
Please see https://bugzilla.redhat.com/show_bug.cgi?id=1010582#c3

*** This bug has been marked as a duplicate of bug 1010582 ***