AMBARI-6674. potential language/encoding problem with mysql (aonishuk)