Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
add comment

3 Answers 3

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
add comment

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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.