yum install mysql mysql-server [mysql-devel,mysql-client] 等等的不同。
php-mysql:php程序访问mysql所需要的共享库
In most cases, you only need to install the MySQL-server and
MySQL-client packages to get a functional MySQL installation. The other
packages are not required for a standard installation. If you want to
run a MySQL-Max server that has additional capabilities, you should
also install the MySQL-Max RPM. However, you should do so only after
installing the MySQL-server RPM.
If you get a dependency failure when trying to install the MySQL 4.0
packages (for example, ``error: removing these packages would break
dependencies: libmysqlclient.so.10 is needed by ...''), you should also
install the package MySQL-shared-compat, which includes both the shared
libraries for backward compatibility (libmysqlclient.so.12 for MySQL
4.0 and libmysqlclient.so.10 for MySQL 3.23).
The following RPM packages are available:
MySQL-server-VERSION.i386.rpm The MySQL server. You will need this
unless you only want to connect to a MySQL server running on another
machine. Note: Server RPM files were called MySQL-VERSION.i386.rpm
before MySQL 4.0.10. That is, they did not have -server in the name.
MySQL-Max-VERSION.i386.rpm The MySQL-Max server. This server has
additional capabilities that the one provided in the MySQL-server RPM
does not. You must install the MySQL-server RPM first, because the
MySQL-Max RPM depends on it.
MySQL-client-VERSION.i386.rpm The standard MySQL client programs. You probably always want to install this package.
MySQL-bench-VERSION.i386.rpm Tests and benchmarks. Requires Perl and the DBD::mysql module.
MySQL-devel-VERSION.i386.rpm The libraries and include files that are
needed if you want to compile other MySQL clients, such as the Perl
modules.
MySQL-shared-VERSION.i386.rpm This package contains the shared
libraries (libmysqlclient.so*) that certain languages and applications
need to dynamically load and use MySQL.
MySQL-shared-compat-VERSION.i386.rpm This package includes the shared
libraries for both MySQL 3.23 and MySQL 4.0. Install this package
instead of MySQL-shared if you have applications installed that are
dynamically linked against MySQL 3.23 but you want to upgrade to MySQL
4.0 without breaking the library dependencies. This package has been
available since MySQL 4.0.13.
MySQL-embedded-VERSION.i386.rpm The embedded MySQL server library (from MySQL 4.0).
MySQL-VERSION.src.rpm This contains the source code for all of the
previous packages. It can also be used to rebuild the RPMs on other
architectures (for example, Alpha or SPARC).
本文详细介绍了在使用yum安装MySQL时各个软件包的功能区别,包括MySQL-server、MySQL-client等核心组件及MySQL-devel等开发相关组件。此外还介绍了如何解决依赖问题及各版本间的兼容性问题。
4004

被折叠的 条评论
为什么被折叠?



