一.下载说明
前期的一些准备说明,参考:
MySQL 发展史
http://blog.csdn.net/tianlesoftware/article/details/6999245
Mysql 不同版本 说明
http://blog.csdn.net/tianlesoftware/article/details/6723117
MySQL 分为 Community Server 和 Enterprise Edition。 其中 Community Server 可
以直接从 mysql 的官网下载。Enterprice Edition 只能从 Oracle edelivery 上下载,不过
Edelivery 现在已经屏蔽了中国的 IP,如果国内的用户一般不能从 edelivery 上下载,需要
翻墙出去才能下载。
1.1 官方文档上有关 MySQL 安装文件类型说明:
http://dev.mysql.com/doc/refman/5.5/en/index.html
Linux supports anumber of different solutions for installing MySQL. The
recommended method isto use one of the distributions from Oracle. If you choose this
method, thereare three options available:
(1)Installingfrom a generic binary package in .tar.gz format. See Section 2.2,“Installing
MySQL from Generic Binaries on Unix/Linux” for moreinformation.
(2)Extractingand compiling MySQL from a source distribution. For detailed
instructions,see Section 2.9, “InstallingMySQL from Source”.
(3)Installingusing a pre-compiled RPM package. For more information on using the
RPMsolution, see Section 2.5.1,“Installing MySQL from RPM Packages on Linux”.
--这里讲了 3 种方式来安装 MySQL 数据库,我这里用最简单的 RPM 包来安装。
As analternative, you can use the native package manager within your
Linuxdistribution to automatically download and install MySQL for you. Nativepackage
installations can take of the download and dependencies required to runMySQL, but the
MySQL version will often be some way behind the currentlyavailable release. You will also
normally be unable to install developmentalreleases, as these are not usually made
available in the native repository. Formore information on using the native package
installers, see Section 2.5.2,“Installing MySQL on Linux using Native Package Manager”.