通过源码编译安装mysql_通过源码编译安装mysql的优势

You want to install MySQL at some explicit location. The

standard binary distributions are "ready to run" at any place, but you may want

to have even more flexibility to place MySQL components where you want.

You want to configure mysqld with some extra features

that are not included in the standard binary distributions. Here is a list of

the most common extra options that you may want to use:

--with-innodb (default for MySQL 4.0 and up)

-with-berkeley-db (not available on all platforms)

--with-raid

--with-libwrap

--with-named-z-libs (this is done for some of the

binaries)

--with-debug[=full]

You want to configure mysqld without some features

that are included in the standard binary distributions. For example,

distributions normally are compiled with support for all character sets. If you

want a smaller MySQL server, you can recompile it with support for only the

character sets you need.

You have a special compiler (such as pgcc) or want to

use compiler options that are better optimized for your processor. Binary

distributions are compiled with options that should work on a variety of

processors from the same processor family.

You want to use the latest sources from one of the BitKeeper

repositories to have access to all current bugfixes. For example, if you have

found a bug and reported it to the MySQL development team, the bugfix will be

committed to the source repository and you can access it there. The bugfix will

not appear in a release until a release actually is issued.

You want to read (or modify) the C and C++ code that makes up

MySQL. For this purpose, you should get a source distribution, because the

source code is always the ultimate manual.

Source distributions contain more tests and examples than

binary distributions.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值