码迷,mamicode.com
首页 > 数据库 > 详细

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

时间:2019-07-12 18:47:44      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:and   system   sql   div   unset   不兼容   figure   https   install   

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

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

标签:and   system   sql   div   unset   不兼容   figure   https   install   

原文地址:https://www.cnblogs.com/dylancao/p/11177623.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!