Centos – yum: Difference between thesql, thesql-server and thesql-devel

centossqlyum

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.

Best Answer

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.