码迷,mamicode.com
首页 > 数据库 > 详细

mysql-server/mysql-client区别

时间:2016-02-06 14:22:53      阅读:252      评论:0      收藏:0      [点我收藏+]

标签:

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

mysql-server/mysql-client区别

标签:

原文地址:http://www.cnblogs.com/chuiyuan/p/5184011.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!