---
title: "linux忽略mysql表大小写"
author: "klts"
date: "2011-12-27T15:56:21Z"
tags: []
categories: ["操作系统"]
slug: "linux-mysql"
draft: false
lastmod: "2011-12-27T15:56:21Z"
id: 1327885
url: "https://klts.iteye.com/blog/1327885"
---

修改办法是：

`vi /etc/my.cnf`

在\[mysqld]下加入一行：

`lower_case_table_names=1`

`重启一下mysql服务即可`