64位Ubuntu 安装MySQL 5.5.32 错误记录与解决

1. dev.mysql.com/downloads 下载tar.gz文件 之后参考
http://ari.iteye.com/blog/1113128
或者解压后查看文件INSTALL-BINARY

中间错误
1. 缺少libaio.so.1
sudo apt-get install libaio1

2. /mysqld: Can't create/write to file '/tmp/i (Errcode: 13)
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

你可能感兴趣的:(mysql,linux)