Fork me on GitHub

安装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

 

  参考文档:

https://stackoverflow.com/questions/2499794/how-to-fix-a-locale-setting-warning-from-perl/7413863

posted on 2019-07-12 17:56  虚生  阅读(328)  评论(0编辑  收藏  举报