mysql-client 和 mysql-client-core 之间有什么区别?

mysql-client 和 mysql-client-core 之间有什么区别?

我想知道 mysql-client 和 mysql-client-core 之间有什么区别?还有 mysql-server 和 mysql-server-core。

答案1

mysql-客户端核心- 包含用于 mysql 数据库支持的核心客户端二进制文件,同时
mysql 客户端- 依赖于取决于mysql-客户端核心并包含其他扩展功能和实用程序(用于 ex perl 支持)

答案2

现在我在 Ubuntu12.04 LTS 上使用 mysql-client-5.5 和 mysql-client-core-5.5。

我输入了以下命令,并检索了结果。

dupingping@dupingping:~$ dpkg -L mysql-client-core-5.5
/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mysqlcheck.1.gz
/usr/share/man/man1/mysql.1.gz
/usr/share/doc
/usr/share/doc/mysql-client-core-5.5
/usr/share/doc/mysql-client-core-5.5/copyright
/usr/share/doc/mysql-client-core-5.5/changelog.Debian.gz
/usr/bin
/usr/bin/mysqlcheck
/usr/bin/mysql

dupingping@dupingping:~$ dpkg -L mysql-client-5.5

/.
/usr
/usr/share
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mysql_plugin.1.gz
/usr/share/man/man1/mysql_tableinfo.1.gz
/usr/share/man/man1/mysqlslap.1.gz
/usr/share/man/man1/mysqldumpslow.1.gz
/usr/share/man/man1/mysqlimport.1.gz
/usr/share/man/man1/mysqlman.1.gz
/usr/share/man/man1/innotop.1.gz
/usr/share/man/man1/mysqlreport.1.gz
/usr/share/man/man1/mysqlaccess.1.gz
/usr/share/man/man1/mysqladmin.1.gz
/usr/share/man/man1/mysql_find_rows.1.gz
/usr/share/man/man1/mysqlshow.1.gz
/usr/share/man/man1/mysql_client_test.1.gz
/usr/share/man/man1/mysqlbug.1.gz
/usr/share/man/man1/mysqldump.1.gz
/usr/share/man/man1/mysql_waitpid.1.gz
/usr/share/man/man1/myisam_ftdump.1.gz
/usr/share/man/man1/mysql_fix_extensions.1.gz
/usr/share/man/man1/mysql_client_test_embedded.1.gz
/usr/share/doc
/usr/share/doc/mysql-client-5.5
/usr/share/doc/mysql-client-5.5/README
/usr/share/doc/mysql-client-5.5/README.Debian
/usr/share/doc/mysql-client-5.5/copyright
/usr/bin
/usr/bin/mysql_waitpid
/usr/bin/mysqladmin
/usr/bin/mysql_plugin
/usr/bin/mysqlshow
/usr/bin/mysqldump
/usr/bin/myisam_ftdump
/usr/bin/mysql_find_rows
/usr/bin/mysqlimport
/usr/bin/mysqlslap
/usr/bin/mysqlbug
/usr/bin/innochecksum
/usr/bin/mysqlaccess
/usr/bin/mysql_client_test
/usr/bin/mysqldumpslow
/usr/bin/innotop
/usr/bin/mysql_fix_extensions
/usr/bin/mysqlreport
/usr/share/man/man1/mysqloptimize.1.gz
/usr/share/man/man1/mysqlrepair.1.gz
/usr/share/man/man1/mysqlanalyze.1.gz
/usr/share/doc/mysql-client-5.5/changelog.Debian.gz
/usr/bin/mysqloptimize
/usr/bin/mysqlanalyze
/usr/bin/mysqlrepair

如您所见,mysql-client 包包含客户端二进制文件和附加工具 innotop 和 mysqlreport,但 mysql-client-core 仅包含核心客户端文件,/usr/bin/mysql/usr/bin/mysqlcheck

以及有关 mysql-server 的信息。

这是一个空包,依赖于 MySQL 维护人员确定的当前“最佳”版本的 mysql-server(当前为 mysql-server-5.5)。(mysql 服务器

该软件包包含服务器二进制文件,但不包含设置系统数据库所需的所有基础设施。(mysql 服务器核心

相关内容