Server Fault is a question and answer site for system and network administrators. 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

What are the differences between the packages here?

mysql, mysql-server and mysql-devel

I am installing a SQL server to use with PHP, but I found these three packages and am not sure which to use.

share|improve this question
up vote 5 down vote accepted

You'll probably want all three packages.

yum info mysql mysql-server mysql-devel will provide maintainer-written descriptions of the packages in detail.

But in short, mysql is the MySQL client and necessary libraries. mysql-server is the actual database server, with corresponding daemon and init scripts. mysql-devel includes development packages that my be needed by other applications.

share|improve this answer
Just want to add a comment for the OP that yum info <package name> will tell you all of this. It's a good one to know so you can get more information about any other package in the future. – Aaron Copley Aug 12 '12 at 0:06
mysql-devel should only be needed for building applications which use mysql. It should not be needed for applications which merely use mysql. – Patrick Aug 12 '12 at 3:40

Your Answer


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.