Begin forwarded message:

> From: Napster Cao <tx...@hotmail.com>
> Subject: character set problem
> Date: June 11, 2013 11:04:18 PM GMT+08:00
> To: mysql@lists.mysql.com
> 
> Hi Guys,
> 
> I installed a new CentOS server (6.4 x86_64), and when I try to log into 
> phpmyadmin, there's an ERROR:
> Can't initialize character set utf-8 (path: /usr/local/mysql/share/charsets/)
> 
> BTW: Everytime I logged into system, I got:
> -bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such 
> file or directory
> and I cannot find locale-gen on my system, the latest version of glibc is 
> installed.
> 
> [admin@zxue /]# rpm -qa | grep glibc
> glibc-devel-2.12-1.107.el6.x86_64
> glibc-2.12-1.107.el6.x86_64
> glibc-headers-2.12-1.107.el6.x86_64
> glibc-common-2.12-1.107.el6.x86_64
> 
> and here's the output of locale command:
> [admin@zxue /]# locale
> LANG=en_US
> LC_CTYPE="en_US.utf-8"
> LC_NUMERIC="en_US.utf-8"
> LC_TIME="en_US.utf-8"
> LC_COLLATE="en_US.utf-8"
> LC_MONETARY="en_US.utf-8"
> LC_MESSAGES="en_US.utf-8"
> LC_PAPER="en_US.utf-8"
> LC_NAME="en_US.utf-8"
> LC_ADDRESS="en_US.utf-8"
> LC_TELEPHONE="en_US.utf-8"
> LC_MEASUREMENT="en_US.utf-8"
> LC_IDENTIFICATION="en_US.utf-8"
> LC_ALL=en_US.utf-8
> 
> How to resolve those two problems?(or maybe they are the same problem?)
> 
> Thanks in advance!

Reply via email to