---
title: "64位Ubuntu 安装MySQL 5.5.32 错误记录与解决"
author: "BenjaminYu"
date: "2013-06-21T19:50:12Z"
tags: ["Linux", "MySQL"]
categories: ["数据库"]
slug: "64-ubuntu-mysql-5-5-32"
draft: false
lastmod: "2013-06-21T19:50:12Z"
id: 1891824
url: "https://benjaminyu.iteye.com/blog/1891824"
---

1. dev.mysql.com/downloads 下载tar.gz文件 之后参考
<http://ari.iteye.com/blog/1113128>
或者解压后查看文件INSTALL-BINARY

中间错误
1. 缺少libaio.so.1 

```sh
sudo apt-get install libaio1
```

2. /mysqld: Can't create/write to file '/tmp/i (Errcode: 13)

```sh
chown -R mysql /usr/local/mysql/data
```

3. 需要设置root用户的密码（bin/mysqld_safe 见<http://ari.iteye.com/blog/1113128>）
p.s. 
**lsb_release -a**
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 11.10
Release:	11.10
Codename:	oneiric
**unamme -a **
Linux s02 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux