1. dev.mysql.com/downloads 下载tar.gz文件 之后参考
[url]http://ari.iteye.com/blog/1113128[/url]
或者解压后查看文件INSTALL-BINARY
中间错误
1. 缺少libaio.so.1
2. /mysqld: Can't create/write to file '/tmp/i (Errcode: 13)
3. 需要设置root用户的密码(bin/mysqld_safe 见[url]http://ari.iteye.com/blog/1113128[/url])
p.s.
[b]lsb_release -a[/b]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
[b]unamme -a [/b]
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
[url]http://ari.iteye.com/blog/1113128[/url]
或者解压后查看文件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 见[url]http://ari.iteye.com/blog/1113128[/url])
p.s.
[b]lsb_release -a[/b]
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
[b]unamme -a [/b]
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