安装mysql的时候,遇到了这样一个错误:perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_US.UTF-8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). 实际上,在stackooverflow上,有很多解决方法,我的解决方法如下: https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl/7413863 自己测试的方法如下:
sudo locale-gen en_US en_US.UTF-8 sudo dpkg-reconfigure locales
参考文档:
1 https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl/7413863
原文地址:https://www.cnblogs.com/dylancao/p/11177623.html
时间: 2024-10-10 06:46:59