ubuntu 18.04 安装mysql 遇到语言格式不兼容性问题解决

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

你可能感兴趣的:(ubuntu 18.04 安装mysql 遇到语言格式不兼容性问题解决)