---
title: "解决linux局域网访问MYSQL慢的问题"
author: "soardragon"
date: "2008-01-27T16:26:33Z"
tags: []
slug: "linux-mysql"
draft: false
lastmod: "2008-01-27T16:26:33Z"
id: 159731
url: "https://library.iteye.com/blog/159731"
---

编辑/etc/mysql/my.cnf
在下面加入如下两行


```sql
skip-name-resolve
skip-grant-tables
```


然后sudo /etc/init.d/mysql restart