Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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
2  
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

 
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.