mysql-server/mysql-client区别
2016-02-06 13:00
369 查看
The mysql-client package allows you to connect to a MySQL server. It will give you the "mysql" command-line program.
The mysql-server package allows you to run a MySQL server which can host multiple databases and process queries on those databases. It will give you the MySQL daemon, a.k.a. mysqld.
The "MySQL" package probably includes both of the above.
If you just need to connect to a remote server and run queries, install just mysql-client. If you need to host a database, install the client and server.
The mysql server package will install the mysql database server which you can interact with using a mysql client. You can use the mysql client to send commands to any mysql server; on a remote computer or your own.
The mysql server is used to persist the data and provide a query interface for it (SQL). The mysql clients purpose is to allow you to use that query interface.
The client package also comes with utilities that allows you to easily backup/restore data and administer the server.
shareimprove this answer
The mysql-server package allows you to run a MySQL server which can host multiple databases and process queries on those databases. It will give you the MySQL daemon, a.k.a. mysqld.
The "MySQL" package probably includes both of the above.
If you just need to connect to a remote server and run queries, install just mysql-client. If you need to host a database, install the client and server.
The mysql server package will install the mysql database server which you can interact with using a mysql client. You can use the mysql client to send commands to any mysql server; on a remote computer or your own.
The mysql server is used to persist the data and provide a query interface for it (SQL). The mysql clients purpose is to allow you to use that query interface.
The client package also comes with utilities that allows you to easily backup/restore data and administer the server.
shareimprove this answer
相关文章推荐
- mysql免安装版的配置
- Mysql常识
- mysql水平分表
- MySQL Workbench 修改快捷键
- High Performance MySQL Chapter2
- mysql批量插入数据脚本
- VS2013使用EF6与mysql数据库
- 《MySQL必知必会》读书笔记(二) 8~14章
- mysql的密码重置
- mysql_real_escape_string总是返回false
- MySQL 视图之创建、查看、修改
- MySQL日志
- MySQL存储引擎介绍
- MySQL多实例管理
- MySQL之grant、revoke用法
- MySQL远程连接
- MySQL常用的三种备份方法
- MySQL启动过程
- JDBC初探 DatabaseTestDemo with mysql
- Mysql 服务无法启动 服务没有报告任何错误