mysql多实例mysqld_multi启动报错warning: Falling back to the standard locale ("C").
[root@master ~]# /etc/init.d/mysqld_multi start 1-3
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "zh_CN.UT-F8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
[root@master ~]# source /root/.bashrc
解决办法
vim /root/.bashrc
在尾部加入以下三条定义:
export LANGUAGE="en_US.UTF-8"
export LANG=en_US:zh_CN.UTF-8
export LC_ALL=C
source /root/.bashrc