Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've installed mysql, mysql-server or mysql-client on Linux. What is the difference between them?

share|improve this question

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.

share|improve this answer

The mysql package in Fedora is the client libraries and configuration files. mysql-client is the mysql CLI client. mysql-server is the MySQL server and initscript. mysql-devel is the files required to build against the client libraries.

share|improve this answer

They are the various binaries that are distributed with MySQL. The server, naturally, listens for connections and processes them. mysql-client lets you interact with a MySQL database from the command line, and mysql is another name under which mysql-client is found.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .