---
title: "mongodb启动出现locale::facet::_S_create_c_locale name not valid解决方案"
author: "退役的龙弟弟"
date: "2014-10-08T12:22:37Z"
tags: []
categories: ["数据库"]
slug: "mongodb-locale-facet-s-create-c-locale-name-not-valid"
draft: false
lastmod: "2014-10-08T12:23:01Z"
id: 2125125
url: "https://tydldd.iteye.com/blog/2125125"
---

启动mongodb时出现locale::facet::\_S\_create\_c\_locale name not valid 错误

解决方法：

```
vim /home/nan/.bashrc

#添加一行
export LC_ALL="C"
```